Enum Constant and Description |
---|
HOUR_12_WITH_SECONDS |
HOUR_24_WITH_SECONDS |
HOUR12 |
HOUR24 |
INVALID |
MILITARY |
UTC |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
static TimeMode |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(TimeMode value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static TimeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeMode HOUR12
public static final TimeMode HOUR24
public static final TimeMode MILITARY
public static final TimeMode HOUR_12_WITH_SECONDS
public static final TimeMode HOUR_24_WITH_SECONDS
public static final TimeMode UTC
public static final TimeMode INVALID
public static TimeMode[] values()
for (TimeMode c : TimeMode.values()) System.out.println(c);
public static TimeMode 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 static TimeMode getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(TimeMode value)
value
- The enum constantpublic short getValue()