520 |
* @return the language name of this locale localized to the default locale, |
* @return the language name of this locale localized to the default locale, |
521 |
* with the ISO code as backup |
* with the ISO code as backup |
522 |
*/ |
*/ |
523 |
public String getDisplayLanguage() |
public final String getDisplayLanguage() |
524 |
{ |
{ |
525 |
return getDisplayLanguage(defaultLocale); |
return getDisplayLanguage(defaultLocale); |
526 |
} |
} |
558 |
* @return the country name of this locale localized to the given locale, |
* @return the country name of this locale localized to the given locale, |
559 |
* with the ISO code as backup |
* with the ISO code as backup |
560 |
*/ |
*/ |
561 |
public String getDisplayCountry() |
public final String getDisplayCountry() |
562 |
{ |
{ |
563 |
return getDisplayCountry(defaultLocale); |
return getDisplayCountry(defaultLocale); |
564 |
} |
} |
596 |
* @return the variant code of this locale localized to the given locale, |
* @return the variant code of this locale localized to the given locale, |
597 |
* with the ISO code as backup |
* with the ISO code as backup |
598 |
*/ |
*/ |
599 |
public String getDisplayVariant() |
public final String getDisplayVariant() |
600 |
{ |
{ |
601 |
return getDisplayVariant(defaultLocale); |
return getDisplayVariant(defaultLocale); |
602 |
} |
} |
635 |
* |
* |
636 |
* @return String version of this locale, suitable for display to the user |
* @return String version of this locale, suitable for display to the user |
637 |
*/ |
*/ |
638 |
public String getDisplayName() |
public final String getDisplayName() |
639 |
{ |
{ |
640 |
return getDisplayName(defaultLocale); |
return getDisplayName(defaultLocale); |
641 |
} |
} |