Class SaxonXMLGregorianCalendar

java.lang.Object
javax.xml.datatype.XMLGregorianCalendar
net.sf.saxon.value.SaxonXMLGregorianCalendar
All Implemented Interfaces:
Cloneable

public class SaxonXMLGregorianCalendar extends XMLGregorianCalendar
Saxon implementation of the JAXP class javax.xml.datatype.XMLGregorianCalendar. This is currently used only by the XQJ interface for XQuery: the normal representation of a date, time, or dateTime value in Saxon is with a subclass of CalendarValue

The JAXP specification for this class defines it in terms of XML Schema 1.0 semantics. This implementation is more aligned to the XPath 2.0 semantics of the data types.

Note that this class, unlike the representations of all other data types, is mutable.