DateFormat
class.
Access | Constructor and Description |
---|---|
protected |
Modifier and Type | Method and Description |
---|---|
public abstract DateFormat | Returns: a date formatter.the given formatting style. Either one of
style, Locale DateFormat. ,
DateFormat. ,
DateFormat. , or
DateFormat. .the desired locale. locale)Returns a new |
public abstract DateFormat | Returns: a date/time formatter.the given date formatting style. Either one of
dateStyle, int DateFormat. ,
DateFormat. ,
DateFormat. , or
DateFormat. .the given time formatting style. Either one of
timeStyle, Locale DateFormat. ,
DateFormat. ,
DateFormat. , or
DateFormat. .the desired locale. locale)Returns a new |
public abstract DateFormat | Returns: a time formatter.the given formatting style. Either one of
style, Locale DateFormat. ,
DateFormat. ,
DateFormat. , or
DateFormat. .the desired locale. locale)Returns a new |
DateFormatProvider | back to summary |
---|---|
protected DateFormatProvider() Sole constructor. (For invocation by subclass constructors, typically implicit.) |
getDateInstance | back to summary |
---|---|
public abstract DateFormat getDateInstance(int style, Locale locale) Returns a new
|
getDateTimeInstance | back to summary |
---|---|
public abstract DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale locale) Returns a new
|
getTimeInstance | back to summary |
---|---|
public abstract DateFormat getTimeInstance(int style, Locale locale) Returns a new
|