public static enum PersonNameFormatter.Length extends Enum<PersonNameFormatter.Length>
Enum Constant and Description |
---|
DEFAULT
The default name length for the locale.
|
LONG
The longest name length.
|
MEDIUM
The most typical name length.
|
SHORT
A shortened name.
|
Modifier and Type | Method and Description |
---|---|
static PersonNameFormatter.Length |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PersonNameFormatter.Length[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersonNameFormatter.Length LONG
public static final PersonNameFormatter.Length MEDIUM
public static final PersonNameFormatter.Length SHORT
public static final PersonNameFormatter.Length DEFAULT
public static PersonNameFormatter.Length[] values()
for (PersonNameFormatter.Length c : PersonNameFormatter.Length.values()) System.out.println(c);
public static PersonNameFormatter.Length 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.