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