public static enum DisplayOptions.DisplayLength extends Enum<DisplayOptions.DisplayLength>
Enum Constant and Description |
---|
LENGTH_FULL
Uses full names when generating a locale name, e.g.
|
LENGTH_SHORT
Use short names when generating a locale name, e.g.
|
UNDEFINED
A possible setting for DisplayLength.
|
Modifier and Type | Field and Description |
---|---|
static List<DisplayOptions.DisplayLength> |
VALUES
Unmodifiable List of all display lengths constants.
|
Modifier and Type | Method and Description |
---|---|
static DisplayOptions.DisplayLength |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisplayOptions.DisplayLength[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayOptions.DisplayLength UNDEFINED
public static final DisplayOptions.DisplayLength LENGTH_FULL
public static final DisplayOptions.DisplayLength LENGTH_SHORT
public static final List<DisplayOptions.DisplayLength> VALUES
values()
.public static DisplayOptions.DisplayLength[] values()
for (DisplayOptions.DisplayLength c : DisplayOptions.DisplayLength.values()) System.out.println(c);
public static DisplayOptions.DisplayLength 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 nullCopyright © 2016 Unicode, Inc. and others.