org.apache.xerces.impl.dv.xs
Class YearDV
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 year object representation to String
|
Object | getActualValue(String content, ValidationContext context)- Convert a string to a compiled form
|
protected int[] | parse(String str)- Parses, validates and computes normalized version of gYear 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 year object representation to String
- dateToString in interface AbstractDateTimeDV
date - year object
- lexical representation of month: CCYY with optional time zone sign
parse
protected int[] parse(String str)
throws SchemaDateTimeException Parses, validates and computes normalized version of gYear object
str - The lexical representation of year object CCYY
with possible time zone Z or (-),(+)hh:mm
- normalized date representation
SchemaDateTimeException - Invalid lexical representation
Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.