Package adams.core

Enum DateTimeType

    • Enum Constant Detail

      • MSECS

        public static final DateTimeType MSECS
        msecs since 1970.
      • MSECS_LONG

        public static final DateTimeType MSECS_LONG
        msecs since 1970.
      • SECONDS

        public static final DateTimeType SECONDS
        seconds since 1970.
      • SECONDS_LONG

        public static final DateTimeType SECONDS_LONG
        seconds since 1970.
      • DATETIME

        public static final DateTimeType DATETIME
        adams' DateTime.
      • DATETIMEMSEC

        public static final DateTimeType DATETIMEMSEC
        adams' DateTimeMsec.
      • TIMEMSEC

        public static final DateTimeType TIMEMSEC
        adams' DateTimeMsec.
      • BASEDATE

        public static final DateTimeType BASEDATE
        BaseDate.
      • BASEDATETIME

        public static final DateTimeType BASEDATETIME
        BaseDateTime.
      • BASEDATETIMEMSEC

        public static final DateTimeType BASEDATETIMEMSEC
        BaseDateTimeMsec.
      • BASETIME

        public static final DateTimeType BASETIME
        BaseTime.
      • BASETIMEMSEC

        public static final DateTimeType BASETIMEMSEC
        BaseTime.
      • SERIAL_DATETIME

        public static final DateTimeType SERIAL_DATETIME
        days since 0-jan-1900 date (Excel).
      • SERIAL_DATETIME_LONG

        public static final DateTimeType SERIAL_DATETIME_LONG
        days since 0-jan-1900 date (Excel).
    • Method Detail

      • values

        public static DateTimeType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DateTimeType c : DateTimeType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DateTimeType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null