org.apache.xerces.impl.dv.xs
Class DayDV
Validator for datatype (W3C Schema datatypes)
Version:
- Elena Litani
- Gopal Sharma, SUN Microsystem Inc.
CY, D, DAY, M, MONTH, TOTAL_SIZE, YEAR, h, hh, m, mm, ms, s, utc |
protected String | dateToString(int[] date)- Converts gDay object representation to String
|
Object | getActualValue(String content, ValidationContext context)
|
protected int[] | parse(String str)- Parses, validates and computes normalized version of gDay object
|
append, compare, compareDates, compareOrder, dateToString, fQuotient, fQuotient, findUTCSign, getAllowedFacets, getDate, getTime, getTimeZone, getYearMonth, indexOf, maxDayInMonthFor, mod, modulo, normalize, parseInt, parseIntYear, parseTimeZone, resetDateObj, validateDateTime |
dateToString
protected String dateToString(int[] date)
Converts gDay object representation to String
- dateToString in interface AbstractDateTimeDV
date - gDay object
- lexical representation of gDay: ---DD with an optional time zone sign
parse
protected int[] parse(String str)
throws SchemaDateTimeException Parses, validates and computes normalized version of gDay object
str - The lexical representation of gDay object ---DD
with possible time zone Z or (-),(+)hh:mm
Pattern: ---(\\d\\d)(Z|(([-+])(\\d\\d)(:(\\d\\d))?
- normalized date representation
SchemaDateTimeException - Invalid lexical representation
Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.