Home » openjdk-7 » java » text » spi » [javadoc | source]
java.text.spi
abstract public class: DateFormatProvider [javadoc | source]
java.lang.Object
   java.util.spi.LocaleServiceProvider
      java.text.spi.DateFormatProvider
An abstract class for service providers that provide concrete implementations of the DateFormat class.
Constructor:
 protected DateFormatProvider() 
Method from java.text.spi.DateFormatProvider Summary:
getDateInstance,   getDateTimeInstance,   getTimeInstance
Methods from java.util.spi.LocaleServiceProvider:
getAvailableLocales
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.text.spi.DateFormatProvider Detail:
 abstract public DateFormat getDateInstance(int style,
    Locale locale)
    Returns a new DateFormat instance which formats date with the given formatting style for the specified locale.
 abstract public DateFormat getDateTimeInstance(int dateStyle,
    int timeStyle,
    Locale locale)
    Returns a new DateFormat instance which formats date and time with the given formatting style for the specified locale.
 abstract public DateFormat getTimeInstance(int style,
    Locale locale)
    Returns a new DateFormat instance which formats time with the given formatting style for the specified locale.