org.apache.xmlrpc.util
Class DateTool
java.lang.Object
org.apache.xmlrpc.util.DateTool
public class DateTool
extends java.lang.Object
Wraps a DateFormat
instance to provide thread safety.
protected static String | FORMAT
|
private DateFormat | df
|
DateTool() - Uses the
DateFormat string
yyyyMMdd'T'HH:mm:ss .
|
FORMAT
protected static final String FORMAT
DateTool
public DateTool()
Uses the DateFormat
string
yyyyMMdd'T'HH:mm:ss
.
format
public String format(Date d)
parse
public Date parse(String s)
throws ParseException
s
- The text to parse a date from.
setTimeZone
public void setTimeZone(TimeZone z)
Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.