javax.xml.datatype
public abstract class XMLGregorianCalendar extends Object implements Cloneable
Since: 1.3
Method Summary | |
---|---|
abstract void | add(Duration duration)
Adds the specified duration to this calendar. |
abstract void | clear()
Resets all fields to undefined. |
abstract Object | clone() |
abstract int | compare(XMLGregorianCalendar xmlGregorianCalendar) |
boolean | equals(Object obj) |
abstract int | getDay() |
abstract BigInteger | getEon() |
abstract BigInteger | getEonAndYear() |
abstract BigDecimal | getFractionalSecond() |
abstract int | getHour() |
int | getMillisecond() |
abstract int | getMinute() |
abstract int | getMonth() |
abstract int | getSecond() |
abstract int | getTimezone() |
abstract TimeZone | getTimeZone(int defaultZoneoffset) |
abstract QName | getXMLSchemaType() |
abstract int | getYear() |
int | hashCode() |
abstract boolean | isValid()
Determines the validity of this calendar by
getXMLSchemaType constraints. |
abstract XMLGregorianCalendar | normalize() |
abstract void | reset()
Resets all fields to their original values. |
abstract void | setDay(int day) |
abstract void | setFractionalSecond(BigDecimal fractional) |
abstract void | setHour(int hour) |
abstract void | setMillisecond(int millisecond) |
abstract void | setMinute(int minute) |
abstract void | setMonth(int month) |
abstract void | setSecond(int second) |
void | setTime(int hour, int minute, int second) |
void | setTime(int hour, int minute, int second, BigDecimal fractional) |
void | setTime(int hour, int minute, int second, int millisecond) |
abstract void | setTimezone(int offset) |
abstract void | setYear(BigInteger year) |
abstract void | setYear(int year) |
abstract GregorianCalendar | toGregorianCalendar() |
abstract GregorianCalendar | toGregorianCalendar(TimeZone timezone, Locale locale, XMLGregorianCalendar defaults) |
String | toString() |
abstract String | toXMLFormat()
Returns the XML Schema lexical representation of this calendar. |
getXMLSchemaType
constraints.