public class DateDV extends DateTimeDV
datatypeFactory, DAY, MONTH, YEAR
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
Constructor | Description |
---|---|
DateDV() |
Modifier and Type | Method | Description |
---|---|---|
protected java.lang.String |
dateToString(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date) |
|
java.lang.Object |
getActualValue(java.lang.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(java.lang.String str) |
Parses, validates and computes normalized version of dateTime object
|
append, append, append2, compare, compareDates, compareOrder, findUTCSign, fQuotient, fQuotient, getAllowedFacets, getDate, getDuration, getFractionalSecondsAsBigDecimal, getTime, getTimeZone, getYearMonth, indexOf, isIdentical, isNextCharUTCSign, maxDayInMonthFor, mod, modulo, normalize, parseInt, parseIntYear, parseSecond, parseTimeZone, resetDateObj, saveUnnormalized, validateDateTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkExtraRules, getDataLength, getDigit, getFractionDigits, getTotalDigits, isDigit
public java.lang.Object getActualValue(java.lang.String content, ValidationContext context) throws InvalidDatatypeValueException
getActualValue
in class DateTimeDV
InvalidDatatypeValueException
protected org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData parse(java.lang.String str) throws SchemaDateTimeException
parse
in class DateTimeDV
str
- The lexical representation of dateTime object CCYY-MM-DD
with possible time zone Z or (-),(+)hh:mmSchemaDateTimeException
- Invalid lexical representationprotected java.lang.String dateToString(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
dateToString
in class AbstractDateTimeDV
protected javax.xml.datatype.XMLGregorianCalendar getXMLGregorianCalendar(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
getXMLGregorianCalendar
in class DateTimeDV
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.