org.apache.xerces.impl.dv.xs Class TimeDV 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 StringdateToString (int[] date) Converts time object representation to String
ObjectgetActualValue (String content, ValidationContext context) Convert a string to a compiled form
protected int[]parse (String str) Parses, validates and computes normalized version of time 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 time object representation to String
dateToString in interface AbstractDateTimeDV
date - time object
lexical representation of time: hh:mm:ss.sss with an optional time zone sign
parse protected int[] parse(String str)
throws SchemaDateTimeException Parses, validates and computes normalized version of time object
str - The lexical representation of time object hh:mm:ss.sss
with possible time zone Z or (-),(+)hh:mm
Pattern: "(\\d\\d):(\\d\\d):(\\d\\d)(\\.(\\d)*)?(Z|(([-+])(\\d\\d)(:(\\d\\d))?))?")
normalized time representation
SchemaDateTimeException - Invalid lexical representation
Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.