| Package | Description |
|---|---|
| java.util |
| Modifier and Type | Method and Description |
|---|---|
static Calendar |
Calendar.getInstance()
Gets a calendar using the default time zone and locale.
|
static Calendar |
Calendar.getInstance(TimeZone zone)
Gets a calendar using the specified time zone and default locale.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Calendar.compareTo(Calendar anotherCalendar)
Compares the time values (millisecond offsets from the Epoch) represented by
two
Calendar objects. |