| 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.Category | 
Locale.Category.valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static Locale.Category[] | 
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.Category category)
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.Category category,
          Locale newLocale)
Sets the default locale for the specified Category for this instance
 of the Java Virtual Machine. 
 | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2012, Oracle and/or its affiliates.  All rights reserved.