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
An instance of 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:55This class accepts and creates instances of
Calendar
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.text.Format
Format.Field
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
append
(StringBuffer pBuffer, int pNum, int pMinLen) format
(Object pCalendar, StringBuffer pBuffer, FieldPosition pPos) protected abstract TimeZone
Returns the time zone, which is used to interpret date/time values.private int
parseInt
(String pString, int pOffset, StringBuffer pDigits, int pMaxDigits) parseObject
(String pString, ParsePosition pParsePosition) Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
XmlRpcDateTimeFormat
public XmlRpcDateTimeFormat()
-
-
Method Details
-
getTimeZone
Returns the time zone, which is used to interpret date/time values. -
parseInt
-
parseObject
- Specified by:
parseObject
in classFormat
-
append
-
format
-