ULocale.Category
public
static
final
enum
ULocale.Category
extends Enum<ULocale.Category>
java.lang.Object | ||
↳ | java.lang.Enum<android.icu.util.ULocale.Category> | |
↳ | android.icu.util.ULocale.Category |
Enum for locale categories. These locale categories are used to get/set the default locale for the specific functionality represented by the category.
Summary
Enum values | |
---|---|
ULocale.Category |
DISPLAY
Category used to represent the default locale for displaying user interfaces. |
ULocale.Category |
FORMAT
Category used to represent the default locale for formatting date, number and/or currency. |
Public methods | |
---|---|
static
ULocale.Category
|
valueOf(String name)
|
static
final
Category[]
|
values()
|
Inherited methods | |
---|---|
Enum values
DISPLAY
public static final ULocale.Category DISPLAY
Category used to represent the default locale for displaying user interfaces.
FORMAT
public static final ULocale.Category FORMAT
Category used to represent the default locale for formatting date, number and/or currency.
Public methods
valueOf
public static ULocale.Category valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
ULocale.Category |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-11 UTC.