public enum StringItemStyle extends Enum<StringItemStyle> implements Key
Enum Constant and Description |
---|
LONG
Long setting for era (e.g., Anno Domini), for weekday (e.g., Thursday).
|
NARROW
Narrow setting for era (e.g., A), for weekday (e.g., T).
Two weekdays may have the same narrow style for some locales (e.g. |
SHORT
Short setting for era (e.g., AD), for weekday (e.g., Thu).
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static StringItemStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StringItemStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final StringItemStyle NARROW
public static final StringItemStyle LONG
public static final StringItemStyle SHORT
public static StringItemStyle[] values()
for (StringItemStyle c : StringItemStyle.values()) System.out.println(c);
public static StringItemStyle 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