Top Description Constructors Methods
java.text.spi

public abstract Class DateFormatSymbolsProvider

extends LocaleServiceProvider
Class Inheritance
Known Direct Subclasses
sun.util.locale.provider.DateFormatSymbolsProviderImpl, sun.util.locale.provider.SPILocaleProviderAdapter.DateFormatSymbolsProviderDelegate
Imports
java.text.DateFormatSymbols, java.util.Locale, java.util.spi.LocaleServiceProvider

An abstract class for service providers that provide instances of the DateFormatSymbols class.
Since
1.6

Constructor Summary

AccessConstructor and Description
protected
DateFormatSymbolsProvider()

Sole constructor.

Method Summary

Modifier and TypeMethod and Description
public abstract DateFormatSymbols

Returns:

a DateFormatSymbols instance.
getInstance
(Locale
the desired locale
locale
)

Returns a new DateFormatSymbols instance for the specified locale.

Inherited from java.util.spi.LocaleServiceProvider:
getAvailableLocalesisSupportedLocale

Constructor Detail

DateFormatSymbolsProviderback to summary
protected DateFormatSymbolsProvider()

Sole constructor. (For invocation by subclass constructors, typically implicit.)

Method Detail

getInstanceback to summary
public abstract DateFormatSymbols getInstance(Locale locale)

Returns a new DateFormatSymbols instance for the specified locale.

Parameters
locale:Locale

the desired locale

Returns:DateFormatSymbols

a DateFormatSymbols instance.

Exceptions
NullPointerException:
if locale is null
IllegalArgumentException:
if locale isn't one of the locales returned from getAvailableLocales().
See Also
java.text.DateFormatSymbols#getInstance(java.util.Locale)