| java.text.DateFormat org.apache.jasper.util.FastDateFormat
FastDateFormat | public class FastDateFormat extends DateFormat (Code) | | Fast date formatter that caches recently formatted date information
and uses it to avoid too-frequent calls to the underlying
formatter. Note: breaks fieldPosition param of format(Date,
StringBuffer, FieldPosition). If you care about the field
position, call the underlying DateFormat directly.
author: Stan Bailes author: Alex Chaffee |
format | public StringBuffer format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)(Code) | | Note: breaks functionality of fieldPosition param. Also:
there's a bug in SimpleDateFormat with "S" and "SS", use "SSS"
instead if you want a msec field.
|
Methods inherited from java.text.DateFormat | public Object clone()(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) final public StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition fieldPosition)(Code)(Java Doc) abstract public StringBuffer format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)(Code)(Java Doc) final public String format(Date date)(Code)(Java Doc) public static Locale[] getAvailableLocales()(Code)(Java Doc) public Calendar getCalendar()(Code)(Java Doc) final public static DateFormat getDateInstance()(Code)(Java Doc) final public static DateFormat getDateInstance(int style)(Code)(Java Doc) final public static DateFormat getDateInstance(int style, Locale aLocale)(Code)(Java Doc) final public static DateFormat getDateTimeInstance()(Code)(Java Doc) final public static DateFormat getDateTimeInstance(int dateStyle, int timeStyle)(Code)(Java Doc) final public static DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale aLocale)(Code)(Java Doc) final public static DateFormat getInstance()(Code)(Java Doc) public NumberFormat getNumberFormat()(Code)(Java Doc) final public static DateFormat getTimeInstance()(Code)(Java Doc) final public static DateFormat getTimeInstance(int style)(Code)(Java Doc) final public static DateFormat getTimeInstance(int style, Locale aLocale)(Code)(Java Doc) public TimeZone getTimeZone()(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean isLenient()(Code)(Java Doc) public Date parse(String source) throws ParseException(Code)(Java Doc) abstract public Date parse(String source, ParsePosition pos)(Code)(Java Doc) public Object parseObject(String source, ParsePosition pos)(Code)(Java Doc) public void setCalendar(Calendar newCalendar)(Code)(Java Doc) public void setLenient(boolean lenient)(Code)(Java Doc) public void setNumberFormat(NumberFormat newNumberFormat)(Code)(Java Doc) public void setTimeZone(TimeZone zone)(Code)(Java Doc)
|
|
|