DateFormatProviderpublic abstract class DateFormatProvider extends LocaleServiceProvider An abstract class for service providers that
provide concrete implementations of the
{@link java.text.DateFormat DateFormat} class. |
Constructors Summary |
---|
protected DateFormatProvider()Sole constructor. (For invocation by subclass constructors, typically
implicit.)
|
Methods Summary |
---|
public abstract java.text.DateFormat | getDateInstance(int style, java.util.Locale locale)Returns a new DateFormat instance which formats date
with the given formatting style for the specified locale.
| public abstract java.text.DateFormat | getDateTimeInstance(int dateStyle, int timeStyle, java.util.Locale locale)Returns a new DateFormat instance which formats date and time
with the given formatting style for the specified locale.
| public abstract java.text.DateFormat | getTimeInstance(int style, java.util.Locale locale)Returns a new DateFormat instance which formats time
with the given formatting style for the specified locale.
|
|