org.apache.xerces.impl.dv.xs
Class DateDV
Validator for datatype (W3C Schema datatypes)
Version:
- Elena Litani
- Gopal Sharma, SUN Microsystems Inc.
CY, D, DAY, M, MONTH, TOTAL_SIZE, YEAR, h, hh, m, mm, ms, s, utc |
protected String | dateToString(int[] date)
|
Object | getActualValue(String content)
|
protected int[] | parse(String str)- Parses, validates and computes normalized version of dateTime 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)
- dateToString in interface AbstractDateTimeDV
parse
protected int[] parse(String str)
throws SchemaDateTimeException Parses, validates and computes normalized version of dateTime object
- parse in interface DateTimeDV
str - The lexical representation of dateTime object CCYY-MM-DD
with possible time zone Z or (-),(+)hh:mm
- normalized dateTime representation
SchemaDateTimeException - Invalid lexical representation
Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.