Lines Matching refs:XMLGregorianCalendar
70 * <th>Related<br/>XMLGregorianCalendar<br/>Accessor(s)</th>
153 * values constitute an invalid XMLGregorianCalendar instance (for example, if
163 * {@link #toGregorianCalendar(java.util.TimeZone timezone, java.util.Locale aLocale, XMLGregorianCalendar defaults)},
165 * <li>partial order relation comparator method, {@link #compare(XMLGregorianCalendar xmlGregorianCalendar)}</li>
166 * <li>{@link #equals(Object)} defined relative to {@link #compare(XMLGregorianCalendar xmlGregorianCalendar)}.</li>
183 public abstract class XMLGregorianCalendar
190 * construct an instance of <code>XMLGregorianCalendar</code>.
195 public XMLGregorianCalendar() {
207 * <p>Reset this <code>XMLGregorianCalendar</code> to its original values.</p>
209 * <p><code>XMLGregorianCalendar</code> is reset to the same values as when it was created with
255 * <p><code>reset()</code> is designed to allow the reuse of existing <code>XMLGregorianCalendar</code>s
256 * thus saving resources associated with the creation of new <code>XMLGregorianCalendar</code>s.</p>
478 * @return eon of this <code>XMLGregorianCalendar</code>. The value
493 * @return year of this <code>XMLGregorianCalendar</code>.
523 * @return year of this <code>XMLGregorianCalendar</code>.
581 * @return Second of this <code>XMLGregorianCalendar</code>.
603 * @return Millisecond of this <code>XMLGregorianCalendar</code>.
632 * @return fractional seconds of this <code>XMLGregorianCalendar</code>.
650 * @param xmlGregorianCalendar Instance of <code>XMLGregorianCalendar</code> to compare
652 * @return The relationship between <code>this</code> <code>XMLGregorianCalendar</code> and
661 public abstract int compare(XMLGregorianCalendar xmlGregorianCalendar);
669 * @return <code>this</code> <code>XMLGregorianCalendar</code> normalized to UTC.
671 public abstract XMLGregorianCalendar normalize();
676 * <code>XMLGregorianCalendar</code> object that represents the same
682 * <code>XMLGregorianCalendar</code> and
683 * {@link #compare(XMLGregorianCalendar obj)}
689 if (obj == null || !(obj instanceof XMLGregorianCalendar)) {
692 return compare((XMLGregorianCalendar) obj) == DatatypeConstants.EQUAL;
711 XMLGregorianCalendar gc = this;
732 * @return XML, as <code>String</code>, representation of this <code>XMLGregorianCalendar</code>
853 * <p>Returns a <code>String</code> representation of this <code>XMLGregorianCalendar</code> <code>Object</code>.</p>
857 * @return A non-<code>null</code> valid <code>String</code> representation of this <code>XMLGregorianCalendar</code>.
885 * @param duration Duration to add to this <code>XMLGregorianCalendar</code>.
892 * <p>Convert this <code>XMLGregorianCalendar</code> to a {@link GregorianCalendar}.</p>
903 * {@link #toGregorianCalendar(TimeZone, Locale, XMLGregorianCalendar)}.</p>
917 * <td><code>javax.xml.datatype.XMLGregorianCalendar</code> field</td>
977 * @see #toGregorianCalendar(java.util.TimeZone, java.util.Locale, XMLGregorianCalendar)
982 * <p>Convert this <code>XMLGregorianCalendar</code> along with provided parameters
1034 XMLGregorianCalendar defaults);