Top Fields Constructors Methods
sun.util.cldr

public Class CLDRCalendarNameProviderImpl

extends CalendarNameProviderImpl
implements AvailableLanguageTags
Class Inheritance
All Implemented Interfaces
sun.util.locale.provider.AvailableLanguageTags
Static Imports
sun.util.locale.provider.LocaleProviderAdapter.Type

Field Summary

Inherited from sun.util.locale.provider.CalendarNameProviderImpl:
langtagstype

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
isSupportedLocale(Locale
a Locale to be tested
locale
)

Overrides sun.util.locale.provider.CalendarNameProviderImpl.isSupportedLocale.

Returns true if the given locale is supported by this locale service provider.

Inherited from sun.util.locale.provider.CalendarNameProviderImpl:
getAvailableLanguageTagsgetAvailableLocalesgetDisplayNamegetDisplayNameImplgetDisplayNamesgetJavaTimeDisplayNamegetJavaTimeDisplayNames

Constructor Detail

CLDRCalendarNameProviderImplback to summary
public CLDRCalendarNameProviderImpl(LocaleProviderAdapter.Type type, Set<String> langtags)

Method Detail

isSupportedLocaleback to summary
public boolean isSupportedLocale(Locale locale)

Overrides sun.util.locale.provider.CalendarNameProviderImpl.isSupportedLocale.

Doc from java.util.spi.LocaleServiceProvider.isSupportedLocale.

Returns true if the given locale is supported by this locale service provider. The given locale may contain extensions that should be taken into account for the support determination.

The default implementation returns true if the given locale is equal to any of the available Locales returned by getAvailableLocales() with ignoring any extensions in both the given locale and the available locales. Concrete locale service provider implementations should override this method if those implementations are Locale extensions-aware. For example, DecimalFormatSymbolsProvider implementations will need to check extensions in the given locale to see if any numbering system is specified and can be supported. However, CollatorProvider implementations may not be affected by any particular numbering systems, and in that case, extensions for numbering systems should be ignored.

Parameters
locale:Locale

a Locale to be tested

Returns:boolean

true if the given locale is supported by this provider; false otherwise.

Annotations
@Override