Class DateFormatterProvider


  • public class DateFormatterProvider
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DateFormatterProvider​(java.lang.String dateFormatPattern)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDateFormatPattern()  
      java.time.ZoneId getZoneId()  
      java.util.Date parse​(java.lang.String value)  
      void setDateFormatPattern​(java.lang.String dateFormatPattern)  
      java.util.Date toDate​(java.lang.Object value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DateFormatterProvider

        public DateFormatterProvider​(java.lang.String dateFormatPattern)
    • Method Detail

      • getZoneId

        public java.time.ZoneId getZoneId()
      • getDateFormatPattern

        public java.lang.String getDateFormatPattern()
      • setDateFormatPattern

        public void setDateFormatPattern​(java.lang.String dateFormatPattern)
      • parse

        public java.util.Date parse​(java.lang.String value)
                             throws java.time.DateTimeException
        Throws:
        java.time.DateTimeException
      • toDate

        public java.util.Date toDate​(java.lang.Object value)