Package ch.qos.logback.core.util
Class CachingDateFormatter
java.lang.Object
ch.qos.logback.core.util.CachingDateFormatter
A synchronized implementation of SimpleDateFormat which uses caching internally.
- Since:
- 0.9.29
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) String(package private) long(package private) final SimpleDateFormat -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
lastTimestamp
long lastTimestamp -
cachedStr
String cachedStr -
sdf
-
-
Constructor Details
-
CachingDateFormatter
-
-
Method Details
-
format
-
setTimeZone
-