org.sape.smfw.xmlutils
Class DateTimeDeserializer
java.lang.Object
org.sape.smfw.xmlutils.DateTimeDeserializer
- public class DateTimeDeserializer
- extends Object
A deserializer for XML Schema "dateTime" datatype.
Based on Apache Axis org.apache.axis.encoding.ser.CalendarDeserializer.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
zulu
private static SimpleDateFormat zulu
DateTimeDeserializer
public DateTimeDeserializer()
fromXml
public static final Date fromXml(String stringValue)
throws ParseException
- Throws:
ParseException
fromXmlToCalendar
public static final Calendar fromXmlToCalendar(String stringValue)
throws ParseException
- Throws:
ParseException
fromXmlHelper
private static final Object fromXmlHelper(String source,
boolean returnDate)
throws ParseException
- Throws:
ParseException
Copyright 2003 Sapient Corporation. All Rights Reserved.