Gets the current value of the default locale for the specified Category for this instance of the Java Virtual Machine.
The Java Virtual Machine sets the default locale during startup based on the host environment. It is used by many locale-sensitive methods if no locale is explicitly specified. It can be changed using the setDefault(Locale.Category, Locale) method.
category | - the specified category to get the default locale |
NullPointerException | - if category is null |
setDefault(Locale.Category, Locale)
Diagram: Locale