ch.qos.logback.core.util
Class CachingDateFormatter

java.lang.Object
  extended by 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ücü

Constructor Summary
CachingDateFormatter(String pattern)
           
 
Method Summary
 String format(long now)
           
 void setTimeZone(TimeZone tz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachingDateFormatter

public CachingDateFormatter(String pattern)
Method Detail

format

public final String format(long now)

setTimeZone

public void setTimeZone(TimeZone tz)


Copyright © 2005-2013 QOS.ch. All Rights Reserved.