| Package | Description |
|---|---|
| javax.xml.datatype |
XML/Java Type Mappings.
|
| Modifier and Type | Method and Description |
|---|---|
abstract XMLGregorianCalendar |
DatatypeFactory.newXMLGregorianCalendar()
Create a new instance of an
XMLGregorianCalendar.
|
abstract XMLGregorianCalendar |
DatatypeFactory.newXMLGregorianCalendar(BigInteger
Constructor allowing for complete value spaces allowed by W3C XML Schema 1.0 recommendation for xsd:dateTime and related builtin datatypes.
|
abstract XMLGregorianCalendar |
DatatypeFactory.newXMLGregorianCalendar(GregorianCalendar
Create an
XMLGregorianCalendar from a
GregorianCalendar.
|
XMLGregorianCalendar |
DatatypeFactory.newXMLGregorianCalendar(int year, int month, int day, int hour, int minute, int second, int millisecond, int timezone)
Constructor of value spaces that a
java.util.GregorianCalendar instance would need to convert to an
XMLGregorianCalendar instance.
|
abstract XMLGregorianCalendar |
DatatypeFactory.newXMLGregorianCalendar(String
Create a new XMLGregorianCalendar by parsing the String as a lexical representation.
|
XMLGregorianCalendar |
DatatypeFactory.newXMLGregorianCalendarDate(int year, int month, int day, int timezone)
Create a Java representation of XML Schema builtin datatype
date or
g*.
|
XMLGregorianCalendar |
DatatypeFactory.newXMLGregorianCalendarTime(int hours, int minutes, int seconds, BigDecimal
Create a Java instance of XML Schema builtin datatype time.
|
XMLGregorianCalendar |
DatatypeFactory.newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int timezone)
Create a Java instance of XML Schema builtin datatype
time.
|
XMLGregorianCalendar |
DatatypeFactory.newXMLGregorianCalendarTime(int hours, int minutes, int seconds, int milliseconds, int timezone)
Create a Java instance of XML Schema builtin datatype time.
|
abstract XMLGregorianCalendar |
XMLGregorianCalendar.normalize()
Normalize this instance to UTC.
|
| Modifier and Type | Method and Description |
|---|---|
abstract int |
XMLGregorianCalendar.compare(XMLGregorianCalendar
Compare two instances of W3C XML Schema 1.0 date/time datatypes according to partial order relation defined in
W3C XML Schema 1.0 Part 2, Section 3.2.7.3, Order relation on dateTime.
|
abstract GregorianCalendar |
XMLGregorianCalendar.toGregorianCalendar(TimeZone
Convert this
XMLGregorianCalendar along with provided parameters to a
GregorianCalendar instance.
|