Locale.getParentLocale

Overview | Methods | This Package | All Packages

Locale.getParentLocale

Provides the parent locale for the thread calling this method.

Syntax

public Locale getParentLocale()

Return Value

Returns a Locale object that contains the parent locale.

Remarks

Use this method to determine the parent locale of the current locale. A parent locale is the more "neutral" version of a locale. For example, the parent of a U.S. English locale would be a Neutral English locale, the parent of that would be the base Neutral locale.

See Also   getInstalledLocales