Locale.getDefault

Gets the current value of the default locale for this instance of the Java Virtual Machine. <p> 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 {@link #setDefault(java.util.Locale) setDefault} method.

@return the default locale for this instance of the Java Virtual Machine

  1. Locale getDefault()
    class Locale
    static
    getDefault
    ()
  2. Locale getDefault(LocaleCategory category)

Meta