public static enum ULocale.Category extends Enum<ULocale.Category>
| Enum Constant and Description |
|---|
DISPLAY
Category used to represent the default locale for displaying user interfaces.
|
FORMAT
Category used to represent the default locale for formatting date, number and/or currency.
|
| Modifier and Type | Method and Description |
|---|---|
static ULocale.Category |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ULocale.Category[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ULocale.Category DISPLAY
public static final ULocale.Category FORMAT
public static ULocale.Category[] values()
for (ULocale.Category c : ULocale.Category.values()) System.out.println(c);
public static ULocale.Category 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.