Enum ColumnDateFormat

java.lang.Object
java.lang.Enum<ColumnDateFormat>
bld.common.spreadsheet.constant.ColumnDateFormat
All Implemented Interfaces:
Serializable, Comparable<ColumnDateFormat>

public enum ColumnDateFormat extends Enum<ColumnDateFormat>
The Enum ColumnDateFormat.
ColumnDateFormat is used to set the date format. It is used on the following annotation ExcelDate.
  • Enum Constant Details

    • DD_MM_YYYY

      public static final ColumnDateFormat DD_MM_YYYY
      The dd mm yyyy.
    • DD_MM_YYYY_HH_MM_SS

      public static final ColumnDateFormat DD_MM_YYYY_HH_MM_SS
      The dd mm yyyy hh mm ss.
    • YYYY_MM_DD

      public static final ColumnDateFormat YYYY_MM_DD
      The yyyy mm dd.
    • YYYY_MM_DD_HH_MM_SS

      public static final ColumnDateFormat YYYY_MM_DD_HH_MM_SS
      The yyyy mm dd hh mm ss.
    • HH_MM_SS

      public static final ColumnDateFormat HH_MM_SS
      The hh mm ss.
    • HH_MM

      public static final ColumnDateFormat HH_MM
      The hh mm.
    • PARAMETER

      public static final ColumnDateFormat PARAMETER
      The parameter.
      This option is set on properties file
  • Method Details

    • values

      public static ColumnDateFormat[] 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 ColumnDateFormat 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
    • getValue

      public String getValue()
      Gets the value.
      Returns:
      the value