Class KmgDateTimeConverter


  • public class KmgDateTimeConverter
    extends Object
    Collection of methods for the conversion between a double value containing decimal seconds since 01-Jan-1970 00:00:00 UTC and a date time String. A negative double value represents a date time before 1-Jan-1970.
    • Field Detail

      • INVALID

        public static final double INVALID
        Value returned for unparseable date time String.
        See Also:
        Constant Field Values
    • Constructor Detail

      • KmgDateTimeConverter

        public KmgDateTimeConverter()
        Creates a KmgDateTimeConverter instance.
      • KmgDateTimeConverter

        public KmgDateTimeConverter​(DateFormat df)
        Creates a KmgDateTimeConverter instance using df. If the DateFormat does not match for parse(…), df is adjusted internally.