Uses of Class java.util.GregorianCalendar (Java Platform SE 8 )
Date: 2016-12-09

## 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 of `GregorianCalendar` with the default locale from a `ZonedDateTime` 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 this `XMLGregorianCalendar` to a `GregorianCalendar`.
    `abstract GregorianCalendar` | XMLGregorianCalendar.`toGregorianCalendar(TimeZone timezone, Locale aLocale, XMLGregorianCalendar defaults)` Convert this `XMLGregorianCalendar` along with provided parameters to a `GregorianCalendar` instance.

    Methods in javax.xml.datatype with parameters of type GregorianCalendar
    Modifier and Type | Method and Description
    --- | ---
    `abstract XMLGregorianCalendar` | DatatypeFactory.`newXMLGregorianCalendar(GregorianCalendar cal)` Create an `XMLGregorianCalendar` from a `GregorianCalendar`.

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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.