org.apache.xerces.impl.dv.xs
Class DateTimeDV
Validator for <dateTime> datatype (W3C Schema Datatypes)
$Id: DateTimeDV.java 320310 2005-05-06 15:31:15Z ankitp $- Elena Litani
- Gopal Sharma, SUN Microsystem Inc.
Object | getActualValue(String content, ValidationContext context)
|
protected javax.xml.datatype.XMLGregorianCalendar | getXMLGregorianCalendar(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
|
protected org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData | parse(String str) - Parses, validates and computes normalized version of dateTime object
|
append , append , compare , compareDates , compareOrder , dateToString , fQuotient , fQuotient , findUTCSign , getAllowedFacets , getDate , getDuration , getTime , getTimeZone , getXMLGregorianCalendar , getYearMonth , indexOf , isIdentical , isNextCharUTCSign , maxDayInMonthFor , mod , modulo , normalize , parseInt , parseIntYear , parseSecond , parseTimeZone , resetDateObj , saveUnnormalized , validateDateTime |
getXMLGregorianCalendar
protected javax.xml.datatype.XMLGregorianCalendar getXMLGregorianCalendar(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
- getXMLGregorianCalendar in interface AbstractDateTimeDV
parse
protected org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData parse(String str)
throws SchemaDateTimeException
Parses, validates and computes normalized version of dateTime object
str
- The lexical representation of dateTime object CCYY-MM-DDThh:mm:ss.sss
with possible time zone Z or (-),(+)hh:mm
- normalized dateTime representation
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.