FileDocCategorySizeDatePackage
DateFormatSymbolsProvider.javaAPI DocJava SE 6 API1456Tue Jun 10 00:25:52 BST 2008java.text.spi

DateFormatSymbolsProvider

public abstract class DateFormatSymbolsProvider extends LocaleServiceProvider
An abstract class for service providers that provide instances of the {@link java.text.DateFormatSymbols DateFormatSymbols} class.
since
1.6
version
@(#)DateFormatSymbolsProvider.java 1.2 05/11/17

Fields Summary
Constructors Summary
protected DateFormatSymbolsProvider()
Sole constructor. (For invocation by subclass constructors, typically implicit.)

    
Methods Summary
public abstract java.text.DateFormatSymbolsgetInstance(java.util.Locale locale)
Returns a new DateFormatSymbols instance for the specified locale.

param
locale the desired locale
exception
NullPointerException if locale is null
exception
IllegalArgumentException if locale isn't one of the locales returned from {@link java.util.spi.LocaleServiceProvider#getAvailableLocales() getAvailableLocales()}.
return
a DateFormatSymbols instance.
see
java.text.DateFormatSymbols#getInstance(java.util.Locale)