Package org.geotools.xml.impl
Class XsDateTimeFormat
-
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
XsDateFormat
,XsLocalDateFormat
,XsTimeFormat
public class XsDateTimeFormat extends Format
An instance ofFormat
, which may be used to parse and formatxs:dateTime
values.- Author:
- Jochen Wiedmann
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class Format
Format.Field
-
-
Constructor Summary
Constructors Constructor Description XsDateTimeFormat()
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuffer
format(Object pCalendar, StringBuffer pBuffer, FieldPosition pPos)
Object
parseObject(String source, boolean lenient)
Object
parseObject(String pString, ParsePosition pParsePosition)
Object
parseObject(String pString, ParsePosition pParsePosition, boolean lenient)
-
Methods inherited from class Format
clone, format, formatToCharacterIterator, parseObject
-
-
-
-
Method Detail
-
parseObject
public Object parseObject(String source, boolean lenient) throws ParseException
- Throws:
ParseException
-
parseObject
public Object parseObject(String pString, ParsePosition pParsePosition)
- Specified by:
parseObject
in classFormat
-
parseObject
public Object parseObject(String pString, ParsePosition pParsePosition, boolean lenient)
-
format
public StringBuffer format(Object pCalendar, StringBuffer pBuffer, FieldPosition pPos)
-
-