Example usage for Java org.apache.commons.lang3.time FastDateFormat fields, constructors, methods, implement or subclass
The text is from its open source code.
int | LONG LONG locale dependent date or time style. |
int | MEDIUM MEDIUM locale dependent date or time style. |
int | SHORT SHORT locale dependent date or time style. |
String | format(final long millis) Formats a millisecond long value. |
String | format(final Date date) Formats a Date object using a GregorianCalendar . |
String | format(final Calendar calendar) Formats a Calendar object. |
FastDateFormat | getDateInstance(final int style, final Locale locale) Gets a date formatter instance using the specified style and locale in the default time zone. |
FastDateFormat | getDateInstance(final int style, final TimeZone timeZone) Gets a date formatter instance using the specified style and time zone in the default locale. |
FastDateFormat | getDateInstance(final int style, final TimeZone timeZone, final Locale locale) Gets a date formatter instance using the specified style, time zone and locale. |
FastDateFormat | getDateInstance(final int style) Gets a date formatter instance using the specified style in the default time zone and locale. |
FastDateFormat | getDateTimeInstance(final int dateStyle, final int timeStyle, final TimeZone timeZone, final Locale locale) Gets a date/time formatter instance using the specified style, time zone and locale. |
FastDateFormat | getDateTimeInstance(final int dateStyle, final int timeStyle) Gets a date/time formatter instance using the specified style in the default time zone and locale. |
FastDateFormat | getDateTimeInstance(final int dateStyle, final int timeStyle, final Locale locale) Gets a date/time formatter instance using the specified style and locale in the default time zone. |
FastDateFormat | getDateTimeInstance(final int dateStyle, final int timeStyle, final TimeZone timeZone) Gets a date/time formatter instance using the specified style and time zone in the default locale. |
FastDateFormat | getInstance(final String pattern) Gets a formatter instance using the specified pattern in the default locale. |
FastDateFormat | getInstance(final String pattern, final TimeZone timeZone) Gets a formatter instance using the specified pattern and time zone. |
FastDateFormat | getInstance(final String pattern, final Locale locale) Gets a formatter instance using the specified pattern and locale. |
FastDateFormat | getInstance(final String pattern, final TimeZone timeZone, final Locale locale) Gets a formatter instance using the specified pattern, time zone and locale. |
String | getPattern() Gets the pattern used by this formatter. |
FastDateFormat | getTimeInstance(final int style, final Locale locale) Gets a time formatter instance using the specified style and locale in the default time zone. |
FastDateFormat | getTimeInstance(final int style, final TimeZone timeZone) Gets a time formatter instance using the specified style and time zone in the default locale. |
FastDateFormat | getTimeInstance(final int style) Gets a time formatter instance using the specified style in the default time zone and locale. |
Date | parse(final String source) |
Date | parse(final String source, final ParsePosition pos) |