Uses of Class
java.util.Locale.Category
-
Packages that use Locale.Category 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). -
-
Uses of Locale.Category in java.util
Methods in java.util that return Locale.Category 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.Methods in java.util with parameters of type Locale.Category 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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.