| Package | Description |
|---|---|
| java.util |
Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
|
| Modifier and Type | Method and Description |
|---|---|
static Locale |
Locale.Category.valueOf(String
Returns the enum constant of this type with the specified name.
|
static Locale |
Locale.Category.values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Locale |
Locale.getDefault(Locale
Gets the current value of the default locale for the specified Category for this instance of the Java Virtual Machine.
|
static void |
Locale.setDefault(Locale
Sets the default locale for the specified Category for this instance of the Java Virtual Machine.
|