Package bld.common.spreadsheet.constant
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 annotationbld.generator.report.excel.annotation.ExcelDate.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DD_MM_YYYYThe dd mm yyyy.DD_MM_YYYY_HH_MM_SSThe dd mm yyyy hh mm ss.PARAMETERThe parameter.YYYY_MM_DDThe yyyy mm dd.YYYY_MM_DD_HH_MM_SSThe yyyy mm dd hh mm ss.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()Gets the value.static ColumnDateFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static ColumnDateFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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.
-
PARAMETER
public static final ColumnDateFormat PARAMETER
The parameter.
This option is set on properties file
-
-
Method Detail
-
values
public static ColumnDateFormat[] 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 (ColumnDateFormat c : ColumnDateFormat.values()) System.out.println(c);
- 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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
Gets the value.- Returns:
- the value
-
-