Package org.apache.tomcat.util.http
Class ConcurrentDateFormat
- java.lang.Object
-
- org.apache.tomcat.util.http.ConcurrentDateFormat
-
public class ConcurrentDateFormat extends Object
A thread safe wrapper aroundSimpleDateFormat
that does not make use of ThreadLocal and - broadly - only creates enough SimpleDateFormat objects to satisfy the concurrency requirements.
-
-
Constructor Summary
Constructors Constructor Description ConcurrentDateFormat(String format, Locale locale, TimeZone timezone)
-
-
-
Method Detail
-
parse
public Date parse(String source) throws ParseException
- Throws:
ParseException
-
-