Uses of Class
java.util.GregorianCalendar
| Package | Description |
|---|---|
| java.util |
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
|
| javax.xml.datatype |
Defines XML/Java Type Mappings.
|
-
Uses of GregorianCalendar in java.util
Methods in java.util that return GregorianCalendar Modifier and Type Method Description static GregorianCalendarGregorianCalendar. from(ZonedDateTime zdt)Obtains an instance ofGregorianCalendarwith the default locale from aZonedDateTimeobject. -
Uses of GregorianCalendar in javax.xml.datatype
Methods in javax.xml.datatype that return GregorianCalendar Modifier and Type Method Description abstract GregorianCalendarXMLGregorianCalendar. toGregorianCalendar()Convert thisXMLGregorianCalendarto aGregorianCalendar.abstract GregorianCalendarXMLGregorianCalendar. toGregorianCalendar(TimeZone timezone, Locale aLocale, XMLGregorianCalendar defaults)Convert thisXMLGregorianCalendaralong with provided parameters to aGregorianCalendarinstance.Methods in javax.xml.datatype with parameters of type GregorianCalendar Modifier and Type Method Description abstract XMLGregorianCalendarDatatypeFactory. newXMLGregorianCalendar(GregorianCalendar cal)Create anXMLGregorianCalendarfrom aGregorianCalendar.