Uses of Class
java.util.GregorianCalendar
-
Packages that use GregorianCalendar 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. -
-
Uses of GregorianCalendar in java.util
Methods in java.util that return GregorianCalendar Modifier and Type Method and Description static GregorianCalendar
GregorianCalendar. from(ZonedDateTime zdt)
Obtains an instance ofGregorianCalendar
with the default locale from aZonedDateTime
object. -
Uses of GregorianCalendar in javax.xml.datatype
Methods in javax.xml.datatype that return GregorianCalendar Modifier and Type Method and Description abstract GregorianCalendar
XMLGregorianCalendar. toGregorianCalendar()
Convert thisXMLGregorianCalendar
to aGregorianCalendar
.abstract GregorianCalendar
XMLGregorianCalendar. toGregorianCalendar(TimeZone timezone, Locale aLocale, XMLGregorianCalendar defaults)
Convert thisXMLGregorianCalendar
along with provided parameters to aGregorianCalendar
instance.Methods in javax.xml.datatype with parameters of type GregorianCalendar Modifier and Type Method and Description abstract XMLGregorianCalendar
DatatypeFactory. newXMLGregorianCalendar(GregorianCalendar cal)
Create anXMLGregorianCalendar
from aGregorianCalendar
.
-
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.