org.apache.xmlrpc.util

Class XmlRpcDateTimeFormat

public abstract class XmlRpcDateTimeFormat extends Format

An instance of {@link java.text.Format}, which may be used to parse and format dateTime values, as specified by the XML-RPC specification. The specification doesn't precisely describe the format, it only gives an example:

   19980717T14:08:55
 
This class accepts and creates instances of {@link Calendar}.
Method Summary
StringBufferformat(Object pCalendar, StringBuffer pBuffer, FieldPosition pPos)
protected abstract TimeZonegetTimeZone()
Returns the time zone, which is used to interpret date/time values.
ObjectparseObject(String pString, ParsePosition pParsePosition)

Method Detail

format

public StringBuffer format(Object pCalendar, StringBuffer pBuffer, FieldPosition pPos)

getTimeZone

protected abstract TimeZone getTimeZone()
Returns the time zone, which is used to interpret date/time values.

parseObject

public Object parseObject(String pString, ParsePosition pParsePosition)
Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.