public static class DateHelper.ThreadSafeDateFormat
extends java.lang.ThreadLocal
| Constructor and Description |
|---|
ThreadSafeDateFormat(java.lang.String mask)
Construct a thread save
DateFormat |
| Modifier and Type | Method and Description |
|---|---|
java.text.DateFormat |
getDateFormat()
convenience method for return
DateFormat from ThreadLocal.get() |
java.lang.String |
getPattern()
get the Pattern/Mask for this DateFormat
|
protected java.lang.Object |
initialValue() |
public ThreadSafeDateFormat(java.lang.String mask)
DateFormatmask - protected java.lang.Object initialValue()
initialValue in class java.lang.ThreadLocalpublic java.text.DateFormat getDateFormat()
DateFormat from ThreadLocal.get()public java.lang.String getPattern()