net.ranides.assira.time
Class DateQuickFormat
java.lang.Object
java.text.Format
java.text.DateFormat
java.text.SimpleDateFormat
net.ranides.assira.time.DateQuickFormat
- All Implemented Interfaces:
- Serializable, Cloneable
public class DateQuickFormat
- extends SimpleDateFormat
- Author:
- ranides
- See Also:
- Serialized Form
| Fields inherited from class java.text.DateFormat |
AM_PM_FIELD, DATE_FIELD, DAY_OF_WEEK_FIELD, DAY_OF_WEEK_IN_MONTH_FIELD, DAY_OF_YEAR_FIELD, DEFAULT, ERA_FIELD, FULL, HOUR_OF_DAY0_FIELD, HOUR_OF_DAY1_FIELD, HOUR0_FIELD, HOUR1_FIELD, LONG, MEDIUM, MILLISECOND_FIELD, MINUTE_FIELD, MONTH_FIELD, SECOND_FIELD, SHORT, TIMEZONE_FIELD, WEEK_OF_MONTH_FIELD, WEEK_OF_YEAR_FIELD, YEAR_FIELD |
| Methods inherited from class java.text.SimpleDateFormat |
applyLocalizedPattern, applyPattern, clone, equals, format, formatToCharacterIterator, get2DigitYearStart, getDateFormatSymbols, hashCode, parse, set2DigitYearStart, setDateFormatSymbols, toLocalizedPattern, toPattern |
| Methods inherited from class java.text.DateFormat |
format, format, getAvailableLocales, getCalendar, getDateInstance, getDateInstance, getDateInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getInstance, getNumberFormat, getTimeInstance, getTimeInstance, getTimeInstance, getTimeZone, isLenient, parse, parseObject, setCalendar, setLenient, setNumberFormat, setTimeZone |
FORMAT_DATE_ISO
public static final String FORMAT_DATE_ISO
- See Also:
- Constant Field Values
FORMAT_DATE
public static final String FORMAT_DATE
- See Also:
- Constant Field Values
FORMAT_DATE_LONG
public static final String FORMAT_DATE_LONG
- See Also:
- Constant Field Values
FORMAT_DATE_TRACE
public static final String FORMAT_DATE_TRACE
- See Also:
- Constant Field Values
FORMAT_TIME
public static final String FORMAT_TIME
- See Also:
- Constant Field Values
FORMAT_TIME_LONG
public static final String FORMAT_TIME_LONG
- See Also:
- Constant Field Values
FORMAT_TIME_TRACE
public static final String FORMAT_TIME_TRACE
- See Also:
- Constant Field Values
DateQuickFormat
public DateQuickFormat(String pattern)
register
public static void register(String name,
String pattern)
unregister
public static void unregister(String name)
format
public static String format(String pattern,
Object time)
format
public static String format(String pattern,
Date time)
Copyright © 2013. All Rights Reserved.