Package de.mhus.lib.form.definition
Enum FmDate.FORMATS
- java.lang.Object
-
- java.lang.Enum<FmDate.FORMATS>
-
- de.mhus.lib.form.definition.FmDate.FORMATS
-
- All Implemented Interfaces:
Serializable,Comparable<FmDate.FORMATS>
- Enclosing class:
- FmDate
public static enum FmDate.FORMATS extends Enum<FmDate.FORMATS>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOMDATEDATETIMEDATETIMESECONDSTIMETIMESECONDS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FmDate.FORMATSvalueOf(String name)Returns the enum constant of this type with the specified name.static FmDate.FORMATS[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATE
public static final FmDate.FORMATS DATE
-
DATETIME
public static final FmDate.FORMATS DATETIME
-
DATETIMESECONDS
public static final FmDate.FORMATS DATETIMESECONDS
-
TIME
public static final FmDate.FORMATS TIME
-
TIMESECONDS
public static final FmDate.FORMATS TIMESECONDS
-
CUSTOM
public static final FmDate.FORMATS CUSTOM
-
-
Method Detail
-
values
public static FmDate.FORMATS[] 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 (FmDate.FORMATS c : FmDate.FORMATS.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FmDate.FORMATS 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
-
-