public enum DisplayFormat extends Enum<DisplayFormat>
| Enum Constant and Description |
|---|
DATE
Date.
|
DATETIME
Date and time.
|
DAY_HOUR_MINUTE
Days, hours and minutes.
|
HOUR_MINUTE
Hours and minutes.
|
NUMBER
Number.
|
NUMBER_DIGIT
Number with thousands separator.
|
TIME
Time.
|
| Modifier and Type | Method and Description |
|---|---|
static DisplayFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisplayFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayFormat NUMBER
public static final DisplayFormat NUMBER_DIGIT
public static final DisplayFormat DATETIME
public static final DisplayFormat DATE
public static final DisplayFormat TIME
public static final DisplayFormat HOUR_MINUTE
public static final DisplayFormat DAY_HOUR_MINUTE
public static DisplayFormat[] values()
for (DisplayFormat c : DisplayFormat.values()) System.out.println(c);
public static DisplayFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null