org.apache.xerces.impl.dv.xs
public class YearDV extends AbstractDateTimeDV
Version: $Id: YearDV.java,v 1.17 2005/05/06 15:31:14 ankitp Exp $
Method Summary | |
---|---|
protected String | dateToString(DateTimeData date)
Converts year object representation to String
|
Object | getActualValue(String content, ValidationContext context)
Convert a string to a compiled form
|
protected XMLGregorianCalendar | getXMLGregorianCalendar(DateTimeData date) |
protected DateTimeData | parse(String str)
Parses, validates and computes normalized version of gYear object
|
Parameters: date year object
Returns: lexical representation of month: CCYY with optional time zone sign
Parameters: content The lexical representation of time
Returns: a valid and normalized time object
Parameters: str The lexical representation of year object CCYY with possible time zone Z or (-),(+)hh:mm
Returns: normalized date representation
Throws: SchemaDateTimeException Invalid lexical representation