Class DateFormatCache
- java.lang.Object
-
- com.googlecode.aviator.runtime.function.system.DateFormatCache
-
public class DateFormatCache extends java.lang.Object
DateFormat cache
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.ThreadLocal<LRUMap<java.lang.String,java.text.SimpleDateFormat>>
formatCache
private static int
maxSize
-
Constructor Summary
Constructors Constructor Description DateFormatCache()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.text.SimpleDateFormat
getOrCreateDateFormat(java.lang.String format)
-
-
-
Field Detail
-
maxSize
private static int maxSize
-
formatCache
private static java.lang.ThreadLocal<LRUMap<java.lang.String,java.text.SimpleDateFormat>> formatCache
-
-