Fields
Name | Description |
---|---|
AD | Useful constant for GregorianCalendar. |
BC | Useful constant for GregorianCalendar. |
Constructors
Name | Description |
---|---|
GregorianCalendar() | Constructs a default GregorianCalendar using the current time in the default time zone with the default locale. |
GregorianCalendar(int, int, int) | Constructs a GregorianCalendar with the given date set in the default time zone with the default locale. |
GregorianCalendar(int, int, int, int, int) | Constructs a GregorianCalendar with the given date and time set for the default time zone with the default locale. |
GregorianCalendar(int, int, int, int, int, int) | Constructs a GregorianCalendar with the given date and time set for the default time zone with the default locale. |
GregorianCalendar(Locale) | Constructs a GregorianCalendar based on the current time in the default time zone with the given locale. |
GregorianCalendar(TimeZone) | Constructs a GregorianCalendar based on the current time in the given time zone with the default locale. |
GregorianCalendar(TimeZone, Locale) | Constructs a GregorianCalendar based on the current time in the given time zone with the given locale. |
Methods
Name | Description |
---|---|
add(int, int) | Overrides Calendar Date Arithmetic function. |
after(Object) | Overrides Calendar Compares the time field records. |
before(Object) | Overrides Calendar Compares the time field records. |
clone() | Overrides Cloneable |
computeFields() | Overrides Calendar Converts UTC as milliseconds to time field values. |
computeTime() | Overrides Calendar Converts time field values to UTC as milliseconds. |
equals(Object) | Overrides Calendar Compares the time field records. |
getGreatestMinimum(int) | Returns highest minimum value for the given field if varies. |
getGregorianChange() | Gets the Gregorian Calendar change date. |
getLeastMaximum(int) | Returns lowest maximum value for the given field if varies. |
getMaximum(int) | Returns maximum value for the given field. |
getMinimum(int) | Returns minimum value for the given field. |
hashCode() | Override hashCode. |
isLeapYear(int) | Determines if the given year is a leap year. |
roll(int, boolean) | Overrides Calendar Time Field Rolling function. |
setGregorianChange(Date) | Sets the GregorianCalendar change date. |