com.thoughtworks.xstream.converters.basic
Class ThreadSafeSimpleDateFormat
java.lang.Object
com.thoughtworks.xstream.core.util.ThreadSafeSimpleDateFormat
com.thoughtworks.xstream.converters.basic.ThreadSafeSimpleDateFormat
Deprecated. since 1.2.1, moved to com.thoughtworks.xstream.core.util.
It is not part of public API, use on your own risk.
public class ThreadSafeSimpleDateFormat
- extends com.thoughtworks.xstream.core.util.ThreadSafeSimpleDateFormat
Wrapper around java.text.SimpleDateFormat that can
be called by multiple threads concurrently.
- Author:
- Joe Walnes
Method Summary |
java.lang.String |
format(java.util.Date date)
Deprecated. |
java.util.Date |
parse(java.lang.String date)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadSafeSimpleDateFormat
public ThreadSafeSimpleDateFormat(java.lang.String format,
int initialPoolSize,
int maxPoolSize)
- Deprecated.
format
public java.lang.String format(java.util.Date date)
- Deprecated.
- Overrides:
format
in class com.thoughtworks.xstream.core.util.ThreadSafeSimpleDateFormat
parse
public java.util.Date parse(java.lang.String date)
throws java.text.ParseException
- Deprecated.
- Overrides:
parse
in class com.thoughtworks.xstream.core.util.ThreadSafeSimpleDateFormat
- Throws:
java.text.ParseException
Copyright © 2004-2012 XStream. All Rights Reserved.