Package com.yahoo.jdisc.http.filter
Class DiscFilterRequest.ThreadLocalSimpleDateFormat
- java.lang.Object
-
- java.lang.ThreadLocal<java.text.SimpleDateFormat>
-
- com.yahoo.jdisc.http.filter.DiscFilterRequest.ThreadLocalSimpleDateFormat
-
- Enclosing class:
- DiscFilterRequest
protected static final class DiscFilterRequest.ThreadLocalSimpleDateFormat extends java.lang.ThreadLocal<java.text.SimpleDateFormat>
The set of SimpleDateFormat formats to use in getDateHeader(). Notice that because SimpleDateFormat is not thread-safe, we can't declare formats[] as a static variable.
-
-
Constructor Summary
Constructors Constructor Description ThreadLocalSimpleDateFormat(java.lang.String format, java.util.Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.text.SimpleDateFormat
initialValue()
java.util.Date
parse(java.lang.String value)
-