public abstract class XmlRpcDateTimeFormat
extends java.text.Format
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
.Constructor and Description |
---|
XmlRpcDateTimeFormat() |
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
format(java.lang.Object pCalendar,
java.lang.StringBuffer pBuffer,
java.text.FieldPosition pPos) |
protected abstract java.util.TimeZone |
getTimeZone()
Returns the time zone, which is used to interpret date/time
values.
|
java.lang.Object |
parseObject(java.lang.String pString,
java.text.ParsePosition pParsePosition) |
protected abstract java.util.TimeZone getTimeZone()
public java.lang.Object parseObject(java.lang.String pString, java.text.ParsePosition pParsePosition)
parseObject
in class java.text.Format
public java.lang.StringBuffer format(java.lang.Object pCalendar, java.lang.StringBuffer pBuffer, java.text.FieldPosition pPos)
format
in class java.text.Format
Copyright © 2001–2017. All rights reserved.