| java.lang.Object org.apache.xerces.impl.dv.xs.TypeValidator org.apache.xerces.impl.dv.xs.AbstractDateTimeDV org.apache.xerces.impl.dv.xs.DateTimeDV
All known Subclasses: org.apache.xerces.impl.dv.xs.DateDV,
DateTimeDV | public class DateTimeDV extends AbstractDateTimeDV (Code) | | Validator for <dateTime> datatype (W3C Schema Datatypes)
author: Elena Litani author: Gopal Sharma, SUN Microsystem Inc. version: $Id: DateTimeDV.java 446745 2006-09-15 21:43:58Z mrglavas $ |
parse | protected DateTimeData parse(String str) throws SchemaDateTimeException(Code) | | Parses, validates and computes normalized version of dateTime object
Parameters: str - The lexical representation of dateTime object CCYY-MM-DDThh:mm:ss.ssswith possible time zone Z or (-),(+)hh:mm normalized dateTime representation exception: SchemaDateTimeException - Invalid lexical representation |
Methods inherited from org.apache.xerces.impl.dv.xs.AbstractDateTimeDV | final protected void append(StringBuffer message, int value, int nch)(Code)(Java Doc) final protected void append(StringBuffer message, double value)(Code)(Java Doc) final protected void append2(StringBuffer message, double value)(Code)(Java Doc) public int compare(Object value1, Object value2)(Code)(Java Doc) protected short compareDates(DateTimeData date1, DateTimeData date2, boolean strict)(Code)(Java Doc) protected short compareOrder(DateTimeData date1, DateTimeData date2)(Code)(Java Doc) protected String dateToString(DateTimeData date)(Code)(Java Doc) protected int fQuotient(int a, int b)(Code)(Java Doc) protected int fQuotient(int temp, int low, int high)(Code)(Java Doc) protected int findUTCSign(String buffer, int start, int end)(Code)(Java Doc) public short getAllowedFacets()(Code)(Java Doc) protected int getDate(String buffer, int start, int end, DateTimeData date) throws RuntimeException(Code)(Java Doc) protected Duration getDuration(DateTimeData data)(Code)(Java Doc) protected void getTime(String buffer, int start, int end, DateTimeData data) throws RuntimeException(Code)(Java Doc) protected void getTimeZone(String buffer, DateTimeData data, int sign, int end) throws RuntimeException(Code)(Java Doc) protected XMLGregorianCalendar getXMLGregorianCalendar(DateTimeData data)(Code)(Java Doc) protected int getYearMonth(String buffer, int start, int end, DateTimeData date) throws RuntimeException(Code)(Java Doc) protected int indexOf(String buffer, int start, int end, char ch)(Code)(Java Doc) public boolean isIdentical(Object value1, Object value2)(Code)(Java Doc) final protected boolean isNextCharUTCSign(String buffer, int start, int end)(Code)(Java Doc) protected int maxDayInMonthFor(int year, int month)(Code)(Java Doc) protected int mod(int a, int b, int quotient)(Code)(Java Doc) protected int modulo(int temp, int low, int high)(Code)(Java Doc) protected void normalize(DateTimeData date)(Code)(Java Doc) protected int parseInt(String buffer, int start, int end) throws NumberFormatException(Code)(Java Doc) protected int parseIntYear(String buffer, int end)(Code)(Java Doc) protected double parseSecond(String buffer, int start, int end) throws NumberFormatException(Code)(Java Doc) protected void parseTimeZone(String buffer, int start, int end, DateTimeData date) throws RuntimeException(Code)(Java Doc) protected void resetDateObj(DateTimeData data)(Code)(Java Doc) protected void saveUnnormalized(DateTimeData date)(Code)(Java Doc) protected void validateDateTime(DateTimeData data)(Code)(Java Doc)
|
|
|