Groovy 2.2.0

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


Method Summary
protected SimpleDateFormat initialValue()

 
Methods inherited from class ThreadLocal
remove, get, set, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Method Detail

initialValue

@Override
protected SimpleDateFormat initialValue()


 

Copyright © 2003-2013 The Codehaus. All rights reserved.