groovy.json
[Java] Class DateFormatThreadLocal
java.lang.Object
java.lang.ThreadLocal
groovy.json.DateFormatThreadLocal
public class DateFormatThreadLocal
extends ThreadLocal
Custom thread local holding a SimpleDateFormat
,
so that the JsonOutput
class used by JsonBuilder
can be thread-safe when outputting dates and calendars.
- Authors:
- Guillaume Laforge
Methods inherited from class ThreadLocal
|
remove, get, set, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
initialValue
@Override
protected SimpleDateFormat initialValue()
-
Copyright © 2003-2013 The Codehaus. All rights reserved.