Uses of Class
java.text.DateFormat
| Package | Description |
|---|---|
| java.text | |
| java.text.spi | |
| org.apache.commons.logging.impl |
Concrete implementations of commons-logging wrapper APIs.
|
-
Uses of DateFormat in java.text
Subclasses of DateFormat in java.text Modifier and Type Class Description classSimpleDateFormatFormats and parses dates in a locale-sensitive manner.Methods in java.text that return DateFormat Modifier and Type Method Description static DateFormatDateFormat. getDateInstance()Returns aDateFormatinstance for formatting and parsing dates in the DEFAULT style for the default locale.static DateFormatDateFormat. getDateInstance(int style)Returns aDateFormatinstance for formatting and parsing dates in the specified style for the user's default locale.static DateFormatDateFormat. getDateInstance(int style, Locale locale)Returns aDateFormatinstance for formatting and parsing dates in the specified style for the specified locale.static DateFormatDateFormat. getDateTimeInstance()Returns aDateFormatinstance for formatting and parsing dates and time values in the DEFAULT style for the default locale.static DateFormatDateFormat. getDateTimeInstance(int dateStyle, int timeStyle)Returns aDateFormatinstance for formatting and parsing of both dates and time values in the manner appropriate for the user's default locale.static DateFormatDateFormat. getDateTimeInstance(int dateStyle, int timeStyle, Locale locale)Returns aDateFormatinstance for formatting and parsing dates and time values in the specified styles for the specified locale.static DateFormatDateFormat. getInstance()Returns aDateFormatinstance for formatting and parsing dates and times in the SHORT style for the default locale.static DateFormatDateFormat. getTimeInstance()Returns aDateFormatinstance for formatting and parsing time values in the DEFAULT style for the default locale.static DateFormatDateFormat. getTimeInstance(int style)Returns aDateFormatinstance for formatting and parsing time values in the specified style for the user's default locale.static DateFormatDateFormat. getTimeInstance(int style, Locale locale)Returns aDateFormatinstance for formatting and parsing time values in the specified style for the specified locale. -
Uses of DateFormat in java.text.spi
Methods in java.text.spi that return DateFormat Modifier and Type Method Description abstract DateFormatDateFormatProvider. getDateInstance(int style, Locale locale)Returns an instance ofDateFormatthat formats dates in the given style for the given locale.abstract DateFormatDateFormatProvider. getDateTimeInstance(int dateStyle, int timeStyle, Locale locale)Returns an instance ofDateFormatthat formats dates and times in the given style for the given locale.abstract DateFormatDateFormatProvider. getTimeInstance(int style, Locale locale)Returns an instance ofDateFormatthat formats times in the given style for the given locale. -
Uses of DateFormat in org.apache.commons.logging.impl
Fields in org.apache.commons.logging.impl declared as DateFormat Modifier and Type Field Description protected static DateFormatSimpleLog. dateFormatterUsed to format times