<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_18) on Fri Dec 09 20:48:45 GMT 2011 --> <TITLE> SaxonXMLGregorianCalendar </TITLE> <META NAME="date" CONTENT="2011-12-09"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="SaxonXMLGregorianCalendar"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/sf/saxon/xqj/SaxonDuration.html" title="class in net.sf.saxon.xqj"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/xqj/SaxonXQConnection.html" title="class in net.sf.saxon.xqj"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html" target="_top"><B>FRAMES</B></A> <A HREF="SaxonXMLGregorianCalendar.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> net.sf.saxon.xqj</FONT> <BR> Class SaxonXMLGregorianCalendar</H2> <PRE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">javax.xml.datatype.XMLGregorianCalendar</A> <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.saxon.xqj.SaxonXMLGregorianCalendar</B> </PRE> <DL> <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DD> </DL> <HR> <DL> <DT><PRE>public class <B>SaxonXMLGregorianCalendar</B><DT>extends <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></DL> </PRE> <P> 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 <A HREF="../../../../net/sf/saxon/value/CalendarValue.html" title="class in net.sf.saxon.value"><CODE>CalendarValue</CODE></A> <p> 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. <p> Note that this class, unlike the representations of all other data types, is mutable. <P> <P> <HR> <P> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#SaxonXMLGregorianCalendar(net.sf.saxon.value.CalendarValue)">SaxonXMLGregorianCalendar</A></B>(<A HREF="../../../../net/sf/saxon/value/CalendarValue.html" title="class in net.sf.saxon.value">CalendarValue</A> value)</CODE> <BR> Create a SaxonXMLGregorianCalendar from a Saxon CalendarValue object</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#add(javax.xml.datatype.Duration)">add</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/Duration.html?is-external=true" title="class or interface in javax.xml.datatype">Duration</A> duration)</CODE> <BR> Add <code>duration</code> to this instance.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#clear()">clear</A></B>()</CODE> <BR> Unset all fields to undefined.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#clone()">clone</A></B>()</CODE> <BR> Creates and returns a copy of this object.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#compare(javax.xml.datatype.XMLGregorianCalendar)">compare</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A> xmlGregorianCalendar)</CODE> <BR> Compare two instances of W3C XML Schema 1.0 date/time datatypes according to partial order relation defined in <a href="http://www.w3.org/TR/xmlschema-2/#dateTime-order">W3C XML Schema 1.0 Part 2, Section 3.2.7.3, <i>Order relation on dateTime</i></a>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getDay()">getDay</A></B>()</CODE> <BR> Return day in month or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getEon()">getEon</A></B>()</CODE> <BR> Return high order component for XML Schema 1.0 dateTime datatype field for <code>year</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getEonAndYear()">getEonAndYear</A></B>()</CODE> <BR> Return XML Schema 1.0 dateTime datatype field for <code>year</code>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getFractionalSecond()">getFractionalSecond</A></B>()</CODE> <BR> Return fractional seconds.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getHour()">getHour</A></B>()</CODE> <BR> Return hours or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getMicrosecond()">getMicrosecond</A></B>()</CODE> <BR> Return microsecond precision of <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getFractionalSecond()"><CODE>getFractionalSecond()</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getMinute()">getMinute</A></B>()</CODE> <BR> Return minutes or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getMonth()">getMonth</A></B>()</CODE> <BR> Return number of month or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getSecond()">getSecond</A></B>()</CODE> <BR> Return seconds or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getTimezone()">getTimezone</A></B>()</CODE> <BR> Return timezone offset in minutes or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A> if this optional field is not defined.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getTimeZone(int)">getTimeZone</A></B>(int defaultZoneoffset)</CODE> <BR> Returns a <code>java.util.TimeZone</code> for this class.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getXMLSchemaType()">getXMLSchemaType</A></B>()</CODE> <BR> Return the name of the XML Schema date/time type that this instance maps to.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getYear()">getYear</A></B>()</CODE> <BR> Return low order component for XML Schema 1.0 dateTime datatype field for <code>year</code> or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> boolean</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#isValid()">isValid</A></B>()</CODE> <BR> Validate instance by <code>getXMLSchemaType()</code> constraints.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#normalize()">normalize</A></B>()</CODE> <BR> Normalize this instance to UTC.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#reset()">reset</A></B>()</CODE> <BR> Reset this <code>XMLGregorianCalendar</code> to its original values.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setCalendarValue(net.sf.saxon.value.CalendarValue)">setCalendarValue</A></B>(<A HREF="../../../../net/sf/saxon/value/CalendarValue.html" title="class in net.sf.saxon.value">CalendarValue</A> value)</CODE> <BR> Set the calendar value of this object</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setDay(int)">setDay</A></B>(int day)</CODE> <BR> Set days in month.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setFractionalSecond(java.math.BigDecimal)">setFractionalSecond</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> fractional)</CODE> <BR> Set fractional seconds.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setHour(int)">setHour</A></B>(int hour)</CODE> <BR> Set hours.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setMillisecond(int)">setMillisecond</A></B>(int millisecond)</CODE> <BR> Set milliseconds.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setMinute(int)">setMinute</A></B>(int minute)</CODE> <BR> Set minutes.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setMonth(int)">setMonth</A></B>(int month)</CODE> <BR> Set month.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setSecond(int)">setSecond</A></B>(int second)</CODE> <BR> Set seconds.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setTimezone(int)">setTimezone</A></B>(int offset)</CODE> <BR> Set the number of minutes in the timezone offset.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setYear(java.math.BigInteger)">setYear</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> year)</CODE> <BR> Set low and high order component of XSD <code>dateTime</code> year field.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setYear(int)">setYear</A></B>(int year)</CODE> <BR> Set year of XSD <code>dateTime</code> year field.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../net/sf/saxon/value/CalendarValue.html" title="class in net.sf.saxon.value">CalendarValue</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#toCalendarValue()">toCalendarValue</A></B>()</CODE> <BR> Convert this SaxonXMLGregorianCalendar to a Saxon CalendarValue object</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/GregorianCalendar.html?is-external=true" title="class or interface in java.util">GregorianCalendar</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#toGregorianCalendar()">toGregorianCalendar</A></B>()</CODE> <BR> Convert this <code>XMLGregorianCalendar</code> to a <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/GregorianCalendar.html?is-external=true" title="class or interface in java.util"><CODE>GregorianCalendar</CODE></A>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/GregorianCalendar.html?is-external=true" title="class or interface in java.util">GregorianCalendar</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#toGregorianCalendar(java.util.TimeZone, java.util.Locale, javax.xml.datatype.XMLGregorianCalendar)">toGregorianCalendar</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</A> timezone, <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A> aLocale, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A> defaults)</CODE> <BR> Convert this <code>XMLGregorianCalendar</code> along with provided parameters to a <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/GregorianCalendar.html?is-external=true" title="class or interface in java.util"><CODE>GregorianCalendar</CODE></A> instance.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#toXMLFormat()">toXMLFormat</A></B>()</CODE> <BR> Return the lexical representation of <code>this</code> instance.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_javax.xml.datatype.XMLGregorianCalendar"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class javax.xml.datatype.<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#equals(java.lang.Object)" title="class or interface in javax.xml.datatype">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getMillisecond()" title="class or interface in javax.xml.datatype">getMillisecond</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#hashCode()" title="class or interface in javax.xml.datatype">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setTime(int, int, int)" title="class or interface in javax.xml.datatype">setTime</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setTime(int, int, int, java.math.BigDecimal)" title="class or interface in javax.xml.datatype">setTime</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setTime(int, int, int, int)" title="class or interface in javax.xml.datatype">setTime</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#toString()" title="class or interface in javax.xml.datatype">toString</A></CODE></TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <P> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TH> </TR> </TABLE> <A NAME="SaxonXMLGregorianCalendar(net.sf.saxon.value.CalendarValue)"><!-- --></A><H3> SaxonXMLGregorianCalendar</H3> <PRE> public <B>SaxonXMLGregorianCalendar</B>(<A HREF="../../../../net/sf/saxon/value/CalendarValue.html" title="class in net.sf.saxon.value">CalendarValue</A> value)</PRE> <DL> <DD>Create a SaxonXMLGregorianCalendar from a Saxon CalendarValue object <P> <DL> <DT><B>Parameters:</B><DD><CODE>value</CODE> - the CalendarValue</DL> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> <B>Method Detail</B></FONT></TH> </TR> </TABLE> <A NAME="setCalendarValue(net.sf.saxon.value.CalendarValue)"><!-- --></A><H3> setCalendarValue</H3> <PRE> public void <B>setCalendarValue</B>(<A HREF="../../../../net/sf/saxon/value/CalendarValue.html" title="class in net.sf.saxon.value">CalendarValue</A> value)</PRE> <DL> <DD>Set the calendar value of this object <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>value</CODE> - the calendar value</DL> </DD> </DL> <HR> <A NAME="clear()"><!-- --></A><H3> clear</H3> <PRE> public void <B>clear</B>()</PRE> <DL> <DD><p>Unset all fields to undefined.</p> <p/> <p>Set all int fields to <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A> and reference fields to null.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#clear()" title="class or interface in javax.xml.datatype">clear</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="reset()"><!-- --></A><H3> reset</H3> <PRE> public void <B>reset</B>()</PRE> <DL> <DD><p>Reset this <code>XMLGregorianCalendar</code> to its original values.</p> <p>Saxon does not attempt to reset to the initial value as defined in the specification of the superclass, because it cannot distinguish the initial setting from subsequent changes. This method is therefore synonymous with <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#clear()"><CODE>clear()</CODE></A></p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#reset()" title="class or interface in javax.xml.datatype">reset</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="setYear(java.math.BigInteger)"><!-- --></A><H3> setYear</H3> <PRE> public void <B>setYear</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> year)</PRE> <DL> <DD><p>Set low and high order component of XSD <code>dateTime</code> year field.</p> <p/> <p>Unset this field by invoking the setter with a parameter value of <code>null</code>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setYear(java.math.BigInteger)" title="class or interface in javax.xml.datatype">setYear</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>year</CODE> - value constraints summarized in <a href="#datetimefield-year">year field of date/time field mapping table</a>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>year</code> parameter is outside value constraints for the field as specified in <a href="#datetimefieldmapping">date/time field mapping table</a>.</DL> </DD> </DL> <HR> <A NAME="setYear(int)"><!-- --></A><H3> setYear</H3> <PRE> public void <B>setYear</B>(int year)</PRE> <DL> <DD><p>Set year of XSD <code>dateTime</code> year field.</p> <p/> <p>Unset this field by invoking the setter with a parameter value of <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <p/> <p>Note: if the absolute value of the <code>year</code> parameter is less than 10^9, the eon component of the XSD year field is set to <code>null</code> by this method.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setYear(int)" title="class or interface in javax.xml.datatype">setYear</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>year</CODE> - value constraints are summarized in <a href="#datetimefield-year">year field of date/time field mapping table</a>. If year is <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>, then eon is set to <code>null</code>.</DL> </DD> </DL> <HR> <A NAME="setMonth(int)"><!-- --></A><H3> setMonth</H3> <PRE> public void <B>setMonth</B>(int month)</PRE> <DL> <DD><p>Set month.</p> <p/> <p>Unset this field by invoking the setter with a parameter value of <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setMonth(int)" title="class or interface in javax.xml.datatype">setMonth</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>month</CODE> - value constraints summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>month</code> parameter is outside value constraints for the field as specified in <a href="#datetimefieldmapping">date/time field mapping table</a>.</DL> </DD> </DL> <HR> <A NAME="setDay(int)"><!-- --></A><H3> setDay</H3> <PRE> public void <B>setDay</B>(int day)</PRE> <DL> <DD><p>Set days in month.</p> <p/> <p>Unset this field by invoking the setter with a parameter value of <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setDay(int)" title="class or interface in javax.xml.datatype">setDay</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>day</CODE> - value constraints summarized in <a href="#datetimefield-day">day field of date/time field mapping table</a>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>day</code> parameter is outside value constraints for the field as specified in <a href="#datetimefieldmapping">date/time field mapping table</a>.</DL> </DD> </DL> <HR> <A NAME="setTimezone(int)"><!-- --></A><H3> setTimezone</H3> <PRE> public void <B>setTimezone</B>(int offset)</PRE> <DL> <DD><p>Set the number of minutes in the timezone offset.</p> <p/> <p>Unset this field by invoking the setter with a parameter value of <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setTimezone(int)" title="class or interface in javax.xml.datatype">setTimezone</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>offset</CODE> - value constraints summarized in <a href="#datetimefield-timezone"> timezone field of date/time field mapping table</a>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>offset</code> parameter is outside value constraints for the field as specified in <a href="#datetimefieldmapping">date/time field mapping table</a>.</DL> </DD> </DL> <HR> <A NAME="setHour(int)"><!-- --></A><H3> setHour</H3> <PRE> public void <B>setHour</B>(int hour)</PRE> <DL> <DD><p>Set hours.</p> <p/> <p>Unset this field by invoking the setter with a parameter value of <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setHour(int)" title="class or interface in javax.xml.datatype">setHour</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>hour</CODE> - value constraints summarized in <a href="#datetimefield-hour">hour field of date/time field mapping table</a>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>hour</code> parameter is outside value constraints for the field as specified in <a href="#datetimefieldmapping">date/time field mapping table</a>.</DL> </DD> </DL> <HR> <A NAME="setMinute(int)"><!-- --></A><H3> setMinute</H3> <PRE> public void <B>setMinute</B>(int minute)</PRE> <DL> <DD><p>Set minutes.</p> <p/> <p>Unset this field by invoking the setter with a parameter value of <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setMinute(int)" title="class or interface in javax.xml.datatype">setMinute</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>minute</CODE> - value constraints summarized in <a href="#datetimefield-minute">minute field of date/time field mapping table</a>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>minute</code> parameter is outside value constraints for the field as specified in <a href="#datetimefieldmapping">date/time field mapping table</a>.</DL> </DD> </DL> <HR> <A NAME="setSecond(int)"><!-- --></A><H3> setSecond</H3> <PRE> public void <B>setSecond</B>(int second)</PRE> <DL> <DD><p>Set seconds.</p> <p/> <p>Unset this field by invoking the setter with a parameter value of <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setSecond(int)" title="class or interface in javax.xml.datatype">setSecond</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>second</CODE> - value constraints summarized in <a href="#datetimefield-second">second field of date/time field mapping table</a>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>second</code> parameter is outside value constraints for the field as specified in <a href="#datetimefieldmapping">date/time field mapping table</a>.</DL> </DD> </DL> <HR> <A NAME="setMillisecond(int)"><!-- --></A><H3> setMillisecond</H3> <PRE> public void <B>setMillisecond</B>(int millisecond)</PRE> <DL> <DD><p>Set milliseconds.</p> <p/> <p>Unset this field by invoking the setter with a parameter value of <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setMillisecond(int)" title="class or interface in javax.xml.datatype">setMillisecond</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>millisecond</CODE> - value constraints summarized in <a href="#datetimefield-millisecond">millisecond field of date/time field mapping table</a>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>millisecond</code> parameter is outside value constraints for the field as specified in <a href="#datetimefieldmapping">date/time field mapping table</a>.</DL> </DD> </DL> <HR> <A NAME="setFractionalSecond(java.math.BigDecimal)"><!-- --></A><H3> setFractionalSecond</H3> <PRE> public void <B>setFractionalSecond</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> fractional)</PRE> <DL> <DD><p>Set fractional seconds.</p> <p/> <p>Unset this field by invoking the setter with a parameter value of <code>null</code>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setFractionalSecond(java.math.BigDecimal)" title="class or interface in javax.xml.datatype">setFractionalSecond</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>fractional</CODE> - value constraints summarized in <a href="#datetimefield-fractional">fractional field of date/time field mapping table</a>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if <code>fractional</code> parameter is outside value constraints for the field as specified in <a href="#datetimefieldmapping">date/time field mapping table</a>.</DL> </DD> </DL> <HR> <A NAME="getEon()"><!-- --></A><H3> getEon</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>getEon</B>()</PRE> <DL> <DD><p>Return high order component for XML Schema 1.0 dateTime datatype field for <code>year</code>. <code>null</code> if this optional part of the year field is not defined.</p> <p/> <p>Value constraints for this value are summarized in <a href="#datetimefield-year">year field of date/time field mapping table</a>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getEon()" title="class or interface in javax.xml.datatype">getEon</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>eon of this <code>XMLGregorianCalendar</code>. The value returned is an integer multiple of 10^9.<DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getYear()"><CODE>getYear()</CODE></A>, <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getEonAndYear()"><CODE>getEonAndYear()</CODE></A></DL> </DD> </DL> <HR> <A NAME="getYear()"><!-- --></A><H3> getYear</H3> <PRE> public int <B>getYear</B>()</PRE> <DL> <DD><p>Return low order component for XML Schema 1.0 dateTime datatype field for <code>year</code> or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <p/> <p>Value constraints for this value are summarized in <a href="#datetimefield-year">year field of date/time field mapping table</a>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getYear()" title="class or interface in javax.xml.datatype">getYear</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>year of this <code>XMLGregorianCalendar</code>.<DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getEon()"><CODE>getEon()</CODE></A>, <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getEonAndYear()"><CODE>getEonAndYear()</CODE></A></DL> </DD> </DL> <HR> <A NAME="getEonAndYear()"><!-- --></A><H3> getEonAndYear</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</A> <B>getEonAndYear</B>()</PRE> <DL> <DD><p>Return XML Schema 1.0 dateTime datatype field for <code>year</code>.</p> <p/> <p>Value constraints for this value are summarized in <a href="#datetimefield-year">year field of date/time field mapping table</a>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getEonAndYear()" title="class or interface in javax.xml.datatype">getEonAndYear</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>sum of <code>eon</code> and <code>BigInteger.valueOf(year)</code> when both fields are defined. When only <code>year</code> is defined, return it. When both <code>eon</code> and <code>year</code> are not defined, return <code>null</code>.<DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getEon()"><CODE>getEon()</CODE></A>, <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getYear()"><CODE>getYear()</CODE></A></DL> </DD> </DL> <HR> <A NAME="getMonth()"><!-- --></A><H3> getMonth</H3> <PRE> public int <B>getMonth</B>()</PRE> <DL> <DD><p>Return number of month or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <p/> <p>Value constraints for this value are summarized in <a href="#datetimefield-month">month field of date/time field mapping table</a>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getMonth()" title="class or interface in javax.xml.datatype">getMonth</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>year of this <code>XMLGregorianCalendar</code>.</DL> </DD> </DL> <HR> <A NAME="getDay()"><!-- --></A><H3> getDay</H3> <PRE> public int <B>getDay</B>()</PRE> <DL> <DD>Return day in month or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <p/> <p>Value constraints for this value are summarized in <a href="#datetimefield-day">day field of date/time field mapping table</a>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getDay()" title="class or interface in javax.xml.datatype">getDay</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setDay(int)"><CODE>setDay(int)</CODE></A></DL> </DD> </DL> <HR> <A NAME="getTimezone()"><!-- --></A><H3> getTimezone</H3> <PRE> public int <B>getTimezone</B>()</PRE> <DL> <DD>Return timezone offset in minutes or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A> if this optional field is not defined. <p/> <p>Value constraints for this value are summarized in <a href="#datetimefield-timezone">timezone field of date/time field mapping table</a>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getTimezone()" title="class or interface in javax.xml.datatype">getTimezone</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#setTimezone(int)"><CODE>setTimezone(int)</CODE></A></DL> </DD> </DL> <HR> <A NAME="getHour()"><!-- --></A><H3> getHour</H3> <PRE> public int <B>getHour</B>()</PRE> <DL> <DD>Return hours or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>. Returns <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A> if this field is not defined. <p/> <p>Value constraints for this value are summarized in <a href="#datetimefield-hour">hour field of date/time field mapping table</a>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getHour()" title="class or interface in javax.xml.datatype">getHour</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setTime(int, int, int)" title="class or interface in javax.xml.datatype"><CODE>XMLGregorianCalendar.setTime(int, int, int)</CODE></A></DL> </DD> </DL> <HR> <A NAME="getMinute()"><!-- --></A><H3> getMinute</H3> <PRE> public int <B>getMinute</B>()</PRE> <DL> <DD>Return minutes or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> Returns <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A> if this field is not defined. <p/> <p>Value constraints for this value are summarized in <a href="#datetimefield-minute">minute field of date/time field mapping table</a>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getMinute()" title="class or interface in javax.xml.datatype">getMinute</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setTime(int, int, int)" title="class or interface in javax.xml.datatype"><CODE>XMLGregorianCalendar.setTime(int, int, int)</CODE></A></DL> </DD> </DL> <HR> <A NAME="getSecond()"><!-- --></A><H3> getSecond</H3> <PRE> public int <B>getSecond</B>()</PRE> <DL> <DD><p>Return seconds or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <p/> <p>Returns <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A> if this field is not defined. When this field is not defined, the optional xs:dateTime fractional seconds field, represented by <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getFractionalSecond()"><CODE>getFractionalSecond()</CODE></A> and <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getMillisecond()" title="class or interface in javax.xml.datatype"><CODE>XMLGregorianCalendar.getMillisecond()</CODE></A>, must not be defined.</p> <p/> <p>Value constraints for this value are summarized in <a href="#datetimefield-second">second field of date/time field mapping table</a>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getSecond()" title="class or interface in javax.xml.datatype">getSecond</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>Second of this <code>XMLGregorianCalendar</code>.<DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getFractionalSecond()"><CODE>getFractionalSecond()</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getMillisecond()" title="class or interface in javax.xml.datatype"><CODE>XMLGregorianCalendar.getMillisecond()</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setTime(int, int, int)" title="class or interface in javax.xml.datatype"><CODE>XMLGregorianCalendar.setTime(int, int, int)</CODE></A></DL> </DD> </DL> <HR> <A NAME="getMicrosecond()"><!-- --></A><H3> getMicrosecond</H3> <PRE> public int <B>getMicrosecond</B>()</PRE> <DL> <DD><p>Return microsecond precision of <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getFractionalSecond()"><CODE>getFractionalSecond()</CODE></A>.</p> <p>This method represents a convenience accessor to infinite precision fractional second value returned by <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getFractionalSecond()"><CODE>getFractionalSecond()</CODE></A>. The returned value is the rounded down to microseconds value of <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getFractionalSecond()"><CODE>getFractionalSecond()</CODE></A>. When <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getFractionalSecond()"><CODE>getFractionalSecond()</CODE></A> returns <code>null</code>, this method must return <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <p>Value constraints for this value are summarized in <a href="#datetimefield-second">second field of date/time field mapping table</a>.</p> <P> <DD><DL> <DT><B>Returns:</B><DD>Millisecond of this <code>XMLGregorianCalendar</code>.<DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getFractionalSecond()"><CODE>getFractionalSecond()</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setTime(int, int, int)" title="class or interface in javax.xml.datatype"><CODE>XMLGregorianCalendar.setTime(int, int, int)</CODE></A></DL> </DD> </DL> <HR> <A NAME="getFractionalSecond()"><!-- --></A><H3> getFractionalSecond</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</A> <B>getFractionalSecond</B>()</PRE> <DL> <DD><p>Return fractional seconds.</p> <p/> <p><code>null</code> is returned when this optional field is not defined.</p> <p/> <p>Value constraints are detailed in <a href="#datetimefield-second">second field of date/time field mapping table</a>.</p> <p/> <p>This optional field can only have a defined value when the xs:dateTime second field, represented by <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getSecond()"><CODE>getSecond()</CODE></A>, does not return <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getFractionalSecond()" title="class or interface in javax.xml.datatype">getFractionalSecond</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>fractional seconds of this <code>XMLGregorianCalendar</code>.<DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getSecond()"><CODE>getSecond()</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#setTime(int, int, int, java.math.BigDecimal)" title="class or interface in javax.xml.datatype"><CODE>XMLGregorianCalendar.setTime(int, int, int, java.math.BigDecimal)</CODE></A></DL> </DD> </DL> <HR> <A NAME="compare(javax.xml.datatype.XMLGregorianCalendar)"><!-- --></A><H3> compare</H3> <PRE> public int <B>compare</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A> xmlGregorianCalendar)</PRE> <DL> <DD><p>Compare two instances of W3C XML Schema 1.0 date/time datatypes according to partial order relation defined in <a href="http://www.w3.org/TR/xmlschema-2/#dateTime-order">W3C XML Schema 1.0 Part 2, Section 3.2.7.3, <i>Order relation on dateTime</i></a>.</p> <p/> <p><code>xsd:dateTime</code> datatype field mapping to accessors of this class are defined in <a href="#datetimefieldmapping">date/time field mapping table</a>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#compare(javax.xml.datatype.XMLGregorianCalendar)" title="class or interface in javax.xml.datatype">compare</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>xmlGregorianCalendar</CODE> - Instance of <code>XMLGregorianCalendar</code> to compare <DT><B>Returns:</B><DD>The relationship between <code>this</code> <code>XMLGregorianCalendar</code> and the specified <code>xmlGregorianCalendar</code> as <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#LESSER" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.LESSER</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#EQUAL" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.EQUAL</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#GREATER" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.GREATER</CODE></A> or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#INDETERMINATE" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.INDETERMINATE</CODE></A>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - if <code>xmlGregorianCalendar</code> is null.</DL> </DD> </DL> <HR> <A NAME="normalize()"><!-- --></A><H3> normalize</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A> <B>normalize</B>()</PRE> <DL> <DD><p>Normalize this instance to UTC.</p> <p/> <p>2000-03-04T23:00:00+03:00 normalizes to 2000-03-04T20:00:00Z</p> <p>Implements W3C XML Schema Part 2, Section 3.2.7.3 (A).</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#normalize()" title="class or interface in javax.xml.datatype">normalize</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>a copy of this <code>XMLGregorianCalendar</code> normalized to UTC.</DL> </DD> </DL> <HR> <A NAME="toXMLFormat()"><!-- --></A><H3> toXMLFormat</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toXMLFormat</B>()</PRE> <DL> <DD><p>Return the lexical representation of <code>this</code> instance. The format is specified in <a href="http://www.w3.org/TR/xmlschema-2/#dateTime-order">XML Schema 1.0 Part 2, Section 3.2.[7-14].1, <i>Lexical Representation</i>".</a></p> <p/> <p>Specific target lexical representation format is determined by <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#getXMLSchemaType()"><CODE>getXMLSchemaType()</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#toXMLFormat()" title="class or interface in javax.xml.datatype">toXMLFormat</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>XML, as <code>String</code>, representation of this <code>XMLGregorianCalendar</code> <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the combination of set fields does not match one of the eight defined XML Schema builtin date/time datatypes.</DL> </DD> </DL> <HR> <A NAME="getXMLSchemaType()"><!-- --></A><H3> getXMLSchemaType</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/namespace/QName.html?is-external=true" title="class or interface in javax.xml.namespace">QName</A> <B>getXMLSchemaType</B>()</PRE> <DL> <DD><p>Return the name of the XML Schema date/time type that this instance maps to. Type is computed based on fields that are set.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getXMLSchemaType()" title="class or interface in javax.xml.datatype">getXMLSchemaType</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>One of the following class constants: <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#DATETIME" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.DATETIME</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#TIME" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.TIME</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#DATE" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.DATE</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#GYEARMONTH" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.GYEARMONTH</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#GMONTHDAY" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.GMONTHDAY</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#GYEAR" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.GYEAR</CODE></A>, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#GMONTH" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.GMONTH</CODE></A> or <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#GDAY" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.GDAY</CODE></A>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang">IllegalStateException</A></CODE> - if the combination of set fields does not match one of the eight defined XML Schema builtin date/time datatypes.</DL> </DD> </DL> <HR> <A NAME="isValid()"><!-- --></A><H3> isValid</H3> <PRE> public boolean <B>isValid</B>()</PRE> <DL> <DD>Validate instance by <code>getXMLSchemaType()</code> constraints. <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#isValid()" title="class or interface in javax.xml.datatype">isValid</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>true if data values are valid.</DL> </DD> </DL> <HR> <A NAME="add(javax.xml.datatype.Duration)"><!-- --></A><H3> add</H3> <PRE> public void <B>add</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/Duration.html?is-external=true" title="class or interface in javax.xml.datatype">Duration</A> duration)</PRE> <DL> <DD><p>Add <code>duration</code> to this instance.</p> <p/> <p>The computation is specified in <a href="http://www.w3.org/TR/xmlschema-2/#adding-durations-to-dateTimes">XML Schema 1.0 Part 2, Appendix E, <i>Adding durations to dateTimes</i>></a>. <a href="#datetimefieldsmapping">date/time field mapping table</a> defines the mapping from XML Schema 1.0 <code>dateTime</code> fields to this class' representation of those fields.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#add(javax.xml.datatype.Duration)" title="class or interface in javax.xml.datatype">add</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>duration</CODE> - Duration to add to this <code>XMLGregorianCalendar</code>. <DT><B>Throws:</B> <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</A></CODE> - when <code>duration</code> parameter is <code>null</code>.</DL> </DD> </DL> <HR> <A NAME="toGregorianCalendar()"><!-- --></A><H3> toGregorianCalendar</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/GregorianCalendar.html?is-external=true" title="class or interface in java.util">GregorianCalendar</A> <B>toGregorianCalendar</B>()</PRE> <DL> <DD><p>Convert this <code>XMLGregorianCalendar</code> to a <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/GregorianCalendar.html?is-external=true" title="class or interface in java.util"><CODE>GregorianCalendar</CODE></A>.</p> <p/> <p>When <code>this</code> instance has an undefined field, this conversion relies on the <code>java.util.GregorianCalendar</code> default for its corresponding field. A notable difference between XML Schema 1.0 date/time datatypes and <code>java.util.GregorianCalendar</code> is that Timezone value is optional for date/time datatypes and it is a required field for <code>java.util.GregorianCalendar</code>. See javadoc for <code>java.util.TimeZone.getDefault()</code> on how the default is determined. To explicitly specify the <code>TimeZone</code> instance, see <A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#toGregorianCalendar(java.util.TimeZone, java.util.Locale, javax.xml.datatype.XMLGregorianCalendar)"><CODE>toGregorianCalendar(java.util.TimeZone, Locale, javax.xml.datatype.XMLGregorianCalendar)</CODE></A>.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#toGregorianCalendar()" title="class or interface in javax.xml.datatype">toGregorianCalendar</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>See Also:</B><DD><A HREF="../../../../net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html#toGregorianCalendar(java.util.TimeZone, java.util.Locale, javax.xml.datatype.XMLGregorianCalendar)"><CODE>toGregorianCalendar(java.util.TimeZone, java.util.Locale, javax.xml.datatype.XMLGregorianCalendar)</CODE></A></DL> </DD> </DL> <HR> <A NAME="toGregorianCalendar(java.util.TimeZone, java.util.Locale, javax.xml.datatype.XMLGregorianCalendar)"><!-- --></A><H3> toGregorianCalendar</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/GregorianCalendar.html?is-external=true" title="class or interface in java.util">GregorianCalendar</A> <B>toGregorianCalendar</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</A> timezone, <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A> aLocale, <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A> defaults)</PRE> <DL> <DD><p>Convert this <code>XMLGregorianCalendar</code> along with provided parameters to a <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/GregorianCalendar.html?is-external=true" title="class or interface in java.util"><CODE>GregorianCalendar</CODE></A> instance.</p> <p/> <p> Since XML Schema 1.0 date/time datetypes has no concept of timezone ids or daylight savings timezone ids, this conversion operation allows the user to explicitly specify one with <code>timezone</code> parameter.</p> <p/> <p>To compute the return value's <code>TimeZone</code> field, <ul> <li>when parameter <code>timeZone</code> is non-null, it is the timezone field.</li> <li>else when <code>this.getTimezone() != FIELD_UNDEFINED</code>, create a <code>java.util.TimeZone</code> with a custom timezone id using the <code>this.getTimezone()</code>.</li> <li>else when <code>defaults.getTimezone() != FIELD_UNDEFINED</code>, create a <code>java.util.TimeZone</code> with a custom timezone id using <code>defaults.getTimezone()</code>.</li> <li>else use the <code>GregorianCalendar</code> default timezone value for the host is defined as specified by <code>java.util.TimeZone.getDefault()</code>.</li></p> <p/> <p>To ensure consistency in conversion implementations, the new <code>GregorianCalendar</code> should be instantiated in following manner. <ul> <li>Create a new <code>java.util.GregorianCalendar(TimeZone, Locale)</code> with TimeZone set as specified above and the <code>Locale</code> parameter. </li> <li>Initialize all GregorianCalendar fields by calling <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true#clear()" title="class or interface in java.util"><CODE>Calendar.clear()</CODE></A></li> <li>Obtain a pure Gregorian Calendar by invoking <code>GregorianCalendar.setGregorianChange( new Date(Long.MIN_VALUE))</code>.</li> <li>Its fields ERA, YEAR, MONTH, DAY_OF_MONTH, HOUR_OF_DAY, MINUTE, SECOND and MILLISECOND are set using the method <code>Calendar.set(int,int)</code></li> </ul> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#toGregorianCalendar(java.util.TimeZone, java.util.Locale, javax.xml.datatype.XMLGregorianCalendar)" title="class or interface in javax.xml.datatype">toGregorianCalendar</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>timezone</CODE> - provide Timezone. <code>null</code> is a legal value.<DD><CODE>aLocale</CODE> - provide explicit Locale. Use default GregorianCalendar locale if value is <code>null</code>.<DD><CODE>defaults</CODE> - provide default field values to use when corresponding field for this instance is FIELD_UNDEFINED or null. If <code>defaults</code>is <code>null</code> or a field within the specified <code>defaults</code> is undefined, just use <code>java.util.GregorianCalendar</code> defaults. <DT><B>Returns:</B><DD>a java.util.GregorianCalendar conversion of this instance.</DL> </DD> </DL> <HR> <A NAME="getTimeZone(int)"><!-- --></A><H3> getTimeZone</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</A> <B>getTimeZone</B>(int defaultZoneoffset)</PRE> <DL> <DD><p>Returns a <code>java.util.TimeZone</code> for this class.</p> <p/> <p>If timezone field is defined for this instance, returns TimeZone initialized with custom timezone id of zoneoffset. If timezone field is undefined, try the defaultZoneoffset that was passed in. If defaultZoneoffset is FIELD_UNDEFINED, return default timezone for this host. (Same default as java.util.GregorianCalendar).</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#getTimeZone(int)" title="class or interface in javax.xml.datatype">getTimeZone</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Parameters:</B><DD><CODE>defaultZoneoffset</CODE> - default zoneoffset if this zoneoffset is <A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/DatatypeConstants.html?is-external=true#FIELD_UNDEFINED" title="class or interface in javax.xml.datatype"><CODE>DatatypeConstants.FIELD_UNDEFINED</CODE></A>. <DT><B>Returns:</B><DD>TimeZone for this.</DL> </DD> </DL> <HR> <A NAME="clone()"><!-- --></A><H3> clone</H3> <PRE> public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> <B>clone</B>()</PRE> <DL> <DD><p>Creates and returns a copy of this object.</p> <P> <DD><DL> <DT><B>Specified by:</B><DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true#clone()" title="class or interface in javax.xml.datatype">clone</A></CODE> in class <CODE><A HREF="http://download.oracle.com/javase/6/docs/api/javax/xml/datatype/XMLGregorianCalendar.html?is-external=true" title="class or interface in javax.xml.datatype">XMLGregorianCalendar</A></CODE></DL> </DD> <DD><DL> <DT><B>Returns:</B><DD>copy of this <code>Object</code></DL> </DD> </DL> <HR> <A NAME="toCalendarValue()"><!-- --></A><H3> toCalendarValue</H3> <PRE> public <A HREF="../../../../net/sf/saxon/value/CalendarValue.html" title="class in net.sf.saxon.value">CalendarValue</A> <B>toCalendarValue</B>()</PRE> <DL> <DD>Convert this SaxonXMLGregorianCalendar to a Saxon CalendarValue object <P> <DD><DL> <DT><B>Returns:</B><DD>the corresponding CalendarValue</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/sf/saxon/xqj/SaxonDuration.html" title="class in net.sf.saxon.xqj"><B>PREV CLASS</B></A> <A HREF="../../../../net/sf/saxon/xqj/SaxonXQConnection.html" title="class in net.sf.saxon.xqj"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?net/sf/saxon/xqj/SaxonXMLGregorianCalendar.html" target="_top"><B>FRAMES</B></A> <A HREF="SaxonXMLGregorianCalendar.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> Copyright (c) 2004-2011 Saxonica Limited. All rights reserved. </BODY> </HTML>