| Package | Description |
|---|---|
| java.util |
Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
|
| javax.xml.datatype |
XML/Java Type Mappings.
|
| Modifier and Type | Method and Description |
|---|---|
static GregorianCalendar |
GregorianCalendar.from(ZonedDateTime
Obtains an instance of
GregorianCalendar with the default locale from a
ZonedDateTime object.
|
| Modifier and Type | Method and Description |
|---|---|
abstract GregorianCalendar |
XMLGregorianCalendar.toGregorianCalendar()
Convert this
XMLGregorianCalendar to a
GregorianCalendar.
|
abstract GregorianCalendar |
XMLGregorianCalendar.toGregorianCalendar(TimeZone
Convert this
XMLGregorianCalendar along with provided parameters to a
GregorianCalendar instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract XMLGregorianCalendar |
DatatypeFactory.newXMLGregorianCalendar(GregorianCalendar
Create an
XMLGregorianCalendar from a
GregorianCalendar.
|