|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ThreadLocal groovy.json.DateFormatThreadLocal
public class DateFormatThreadLocal extends java.lang.ThreadLocal
Custom thread local holding a SimpleDateFormat
,
so that the JsonOutput
class used by JsonBuilder
can be thread-safe when outputting dates and calendars.
Method Summary | |
---|---|
protected java.text.SimpleDateFormat
|
initialValue()
|
Methods inherited from class java.lang.ThreadLocal | |
---|---|
java.lang.ThreadLocal#remove(), java.lang.ThreadLocal#get(), java.lang.ThreadLocal#set(java.lang.Object), java.lang.ThreadLocal#wait(long, int), java.lang.ThreadLocal#wait(long), java.lang.ThreadLocal#wait(), java.lang.ThreadLocal#equals(java.lang.Object), java.lang.ThreadLocal#toString(), java.lang.ThreadLocal#hashCode(), java.lang.ThreadLocal#getClass(), java.lang.ThreadLocal#notify(), java.lang.ThreadLocal#notifyAll() |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
@Override protected java.text.SimpleDateFormat initialValue()
Groovy Documentation