Package org.apache.xmlrpc.util
Class XmlRpcDateTimeFormat
- java.lang.Object
-
- java.text.Format
-
- org.apache.xmlrpc.util.XmlRpcDateTimeFormat
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
- Direct Known Subclasses:
XmlRpcDateTimeDateFormat
public abstract class XmlRpcDateTimeFormat extends java.text.FormatAn instance of
Format, which may be used to parse and formatdateTimevalues, 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 ofCalendar.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description XmlRpcDateTimeFormat()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.StringBufferformat(java.lang.Object pCalendar, java.lang.StringBuffer pBuffer, java.text.FieldPosition pPos)protected abstract java.util.TimeZonegetTimeZone()Returns the time zone, which is used to interpret date/time values.java.lang.ObjectparseObject(java.lang.String pString, java.text.ParsePosition pParsePosition)
-
-
-
Method Detail
-
getTimeZone
protected abstract java.util.TimeZone getTimeZone()
Returns the time zone, which is used to interpret date/time values.
-
parseObject
public java.lang.Object parseObject(java.lang.String pString, java.text.ParsePosition pParsePosition)- Specified by:
parseObjectin classjava.text.Format
-
format
public java.lang.StringBuffer format(java.lang.Object pCalendar, java.lang.StringBuffer pBuffer, java.text.FieldPosition pPos)- Specified by:
formatin classjava.text.Format
-
-