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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadSafeSimpleDateFormat
public ThreadSafeSimpleDateFormat(String format,
int initialPoolSize,
int maxPoolSize)
- Deprecated.
format
public String format(Date date)
- Deprecated.
- Overrides:
format
in class com.thoughtworks.xstream.core.util.ThreadSafeSimpleDateFormat
parse
public Date parse(String date)
throws ParseException
- Deprecated.
- Overrides:
parse
in class com.thoughtworks.xstream.core.util.ThreadSafeSimpleDateFormat
- Throws:
ParseException
Copyright © 2004-2008 XStream. All Rights Reserved.