Class FastDateFormat

java.lang.Object
java.text.Format
java.text.DateFormat
org.glassfish.grizzly.http.util.FastDateFormat
All Implemented Interfaces:
Serializable, Cloneable

public class FastDateFormat extends DateFormat
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, Alex Chaffee
See Also:
  • Constructor Details

    • FastDateFormat

      public FastDateFormat(DateFormat df)
  • Method Details