java.io.Serializable
, java.lang.Comparable<ULocale.Category>
public static enum ULocale.Category extends java.lang.Enum<ULocale.Category>
Enum Constant | 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 | Description |
---|---|---|
static ULocale.Category |
valueOf(java.lang.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(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 nullCopyright ? 2016 Unicode, Inc. and others.