public class DateFormatThreadLocal extends ThreadLocal<SimpleDateFormat>
SimpleDateFormat
,
so that the JsonOutput
class used by JsonBuilder
can be thread-safe when outputting dates and calendars.Constructor and Description |
---|
DateFormatThreadLocal() |
Modifier and Type | Method and Description |
---|---|
protected SimpleDateFormat |
initialValue() |
get, remove, set
protected SimpleDateFormat initialValue()
initialValue
in class ThreadLocal<SimpleDateFormat>