public enum DateFormat extends java.lang.Enum<DateFormat> implements ICRMLookupEnum
| Enum Constant and Description |
|---|
DD_MM_YYYY |
MM_DD_YYYY |
YYYY_MM_DD |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFormat() |
java.lang.String |
getLabel() |
java.lang.String |
getUiFormat() |
static DateFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DateFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateFormat DD_MM_YYYY
public static final DateFormat MM_DD_YYYY
public static final DateFormat YYYY_MM_DD
public static DateFormat[] values()
for (DateFormat c : DateFormat.values()) System.out.println(c);
public static DateFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getFormat()
public java.lang.String getLabel()
getLabel in interface ICRMLookupEnumpublic java.lang.String getUiFormat()