Package | Description |
---|---|
java.util |
Utilities
|
Modifier and Type | Class and Description |
---|---|
class |
GregorianCalendar
This class represents the Gregorian calendar, that is used in most
countries all over the world.
|
Modifier and Type | Method and Description |
---|---|
static Calendar |
Calendar.getInstance()
Gets a calendar using the default time zone and locale.
|
static Calendar |
Calendar.getInstance(Locale aLocale)
Gets a calendar using the default time zone and specified locale.
|
Modifier and Type | Method and Description |
---|---|
int |
Calendar.compareTo(Calendar cal)
Compares the time of two calendar instances.
|