public class DayDV extends AbstractDateTimeDV
datatypeFactory, DAY, MONTH, YEAR
EQUAL, GREATER_THAN, INDETERMINATE, LESS_THAN
Constructor and Description |
---|
DayDV() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
dateToString(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
Converts gDay object representation to String
|
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 gDay 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
checkExtraRules, getDataLength, getDigit, getFractionDigits, getTotalDigits, isDigit
public java.lang.Object getActualValue(java.lang.String content, ValidationContext context) throws InvalidDatatypeValueException
getActualValue
in class TypeValidator
InvalidDatatypeValueException
protected org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData parse(java.lang.String str) throws SchemaDateTimeException
str
- The lexical representation of gDay object ---DD
with possible time zone Z or (-),(+)hh:mm
Pattern: ---(\\d\\d)(Z|(([-+])(\\d\\d)(:(\\d\\d))?SchemaDateTimeException
- Invalid lexical representationprotected java.lang.String dateToString(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
dateToString
in class AbstractDateTimeDV
date
- gDay objectprotected javax.xml.datatype.XMLGregorianCalendar getXMLGregorianCalendar(org.apache.xerces.impl.dv.xs.AbstractDateTimeDV.DateTimeData date)
getXMLGregorianCalendar
in class AbstractDateTimeDV
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.