public static enum TimeSettings.TimeFormat extends java.lang.Enum<TimeSettings.TimeFormat>
Enum Constant and Description |
---|
FORMAT_12HRS
12 hours.
|
FORMAT_24HRS
24 hours.
|
FORMAT_DEFAULT
Local setting.
|
Modifier and Type | Method and Description |
---|---|
static TimeSettings.TimeFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeSettings.TimeFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeSettings.TimeFormat FORMAT_DEFAULT
public static final TimeSettings.TimeFormat FORMAT_12HRS
public static final TimeSettings.TimeFormat FORMAT_24HRS
public static TimeSettings.TimeFormat[] values()
for (TimeSettings.TimeFormat c : TimeSettings.TimeFormat.values()) System.out.println(c);
public static TimeSettings.TimeFormat 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 null