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.
public java.util.Date parse(java.lang.String text,
java.text.ParsePosition pos)
Specified by:
parse in class java.text.DateFormat
format
public java.lang.StringBuffer format(java.util.Date date,
java.lang.StringBuffer toAppendTo,
java.text.FieldPosition fieldPosition)
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.