Class CachingDateFormatter

java.lang.Object
ch.qos.logback.core.util.CachingDateFormatter

public class CachingDateFormatter extends Object
A synchronized implementation of SimpleDateFormat which uses caching internally.
Since:
0.9.29
Author:
Ceki Gülcü
  • Constructor Details

    • CachingDateFormatter

      public CachingDateFormatter(String pattern)
  • Method Details

    • format

      public final String format(long now)
    • setTimeZone

      public void setTimeZone(TimeZone tz)