Enum EDTType

java.lang.Object
java.lang.Enum<EDTType>
com.helger.commons.datetime.EDTType
All Implemented Interfaces:
Serializable, Comparable<EDTType>, java.lang.constant.Constable

public enum EDTType extends Enum<EDTType>
This enum defines the potential date and/or time data types available.
Author:
Philip Helger
  • Enum Constant Details

    • LOCAL_TIME

      public static final EDTType LOCAL_TIME
    • OFFSET_TIME

      public static final EDTType OFFSET_TIME
    • LOCAL_DATE

      public static final EDTType LOCAL_DATE
    • OFFSET_DATE

      public static final EDTType OFFSET_DATE
    • LOCAL_DATE_TIME

      public static final EDTType LOCAL_DATE_TIME
    • OFFSET_DATE_TIME

      public static final EDTType OFFSET_DATE_TIME
    • ZONED_DATE_TIME

      public static final EDTType ZONED_DATE_TIME
  • Method Details

    • values

      public static EDTType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EDTType 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