169 * fields are not checked by these methods.
170 * </p>
171 *
172 * <p>The following operations are defined for this class:
173 * <ul>
174 * <li>factory methods to create instances</li>
175 * <li>accessors/mutators for independent date/time fields</li>
176 * <li>conversion between this class and W3C XML Schema 1.0 lexical representation</li>
177 * <li>conversion between this class and <code>java.util.GregorianCalendar</code></li>
178 * <li>partial order relation comparator method, {@link #compare(XMLGregorianCalendar)}</li>
179 * <li>{@link #equals(Object)} defined relative to {@link #compare(XMLGregorianCalendar)}.</li>
180 * <li> addition operation with {@link javax.xml.datatype.Duration}.
181 * instance as defined in <a href="http://www.w3.org/TR/xmlschema-2/#adding-durations-to-dateTimes">
182 * W3C XML Schema 1.0 Part 2, Appendix E, <i>Adding durations to dateTimes</i></a>.</li>
183 * </ul>
184 * </p>
185 *
186 * @author <a href="mailto:Kohsuke.Kawaguchi@Sun.com">Kohsuke Kawaguchi</a>
187 * @author <a href="mailto:Joseph.Fialli@Sun.com">Joseph Fialli</a>
188 * @author <a href="mailto:Sunitha.Reddy@Sun.com">Sunitha Reddy</a>
189 * @version $Revision: 1.14 $, $Date: 2010-11-10 07:41:41 $
190 * @see javax.xml.datatype.Duration
191 * @since 1.5
192 * @LastModified: June 2018
193 */
194
195 public class XMLGregorianCalendarImpl
196 extends XMLGregorianCalendar
197 implements Serializable, Cloneable {
198
199 /**
200 * <p>Eon of this <code>XMLGregorianCalendar</code>.</p>
201 */
202 private BigInteger eon = null;
203
204 /**
205 * <p>Year of this <code>XMLGregorianCalendar</code>.</p>
206 */
207 private int year = DatatypeConstants.FIELD_UNDEFINED;
208
209 /**
|
169 * fields are not checked by these methods.
170 * </p>
171 *
172 * <p>The following operations are defined for this class:
173 * <ul>
174 * <li>factory methods to create instances</li>
175 * <li>accessors/mutators for independent date/time fields</li>
176 * <li>conversion between this class and W3C XML Schema 1.0 lexical representation</li>
177 * <li>conversion between this class and <code>java.util.GregorianCalendar</code></li>
178 * <li>partial order relation comparator method, {@link #compare(XMLGregorianCalendar)}</li>
179 * <li>{@link #equals(Object)} defined relative to {@link #compare(XMLGregorianCalendar)}.</li>
180 * <li> addition operation with {@link javax.xml.datatype.Duration}.
181 * instance as defined in <a href="http://www.w3.org/TR/xmlschema-2/#adding-durations-to-dateTimes">
182 * W3C XML Schema 1.0 Part 2, Appendix E, <i>Adding durations to dateTimes</i></a>.</li>
183 * </ul>
184 * </p>
185 *
186 * @author <a href="mailto:Kohsuke.Kawaguchi@Sun.com">Kohsuke Kawaguchi</a>
187 * @author <a href="mailto:Joseph.Fialli@Sun.com">Joseph Fialli</a>
188 * @author <a href="mailto:Sunitha.Reddy@Sun.com">Sunitha Reddy</a>
189 * @see javax.xml.datatype.Duration
190 * @since 1.5
191 * @LastModified: June 2018
192 */
193
194 public class XMLGregorianCalendarImpl
195 extends XMLGregorianCalendar
196 implements Serializable, Cloneable {
197
198 /**
199 * <p>Eon of this <code>XMLGregorianCalendar</code>.</p>
200 */
201 private BigInteger eon = null;
202
203 /**
204 * <p>Year of this <code>XMLGregorianCalendar</code>.</p>
205 */
206 private int year = DatatypeConstants.FIELD_UNDEFINED;
207
208 /**
|