java.lang.Object | ||||
↳ | sun.util.calendar.CalendarSystem | |||
↳ | sun.util.calendar.AbstractCalendar | |||
↳ | sun.util.calendar.BaseCalendar | |||
↳ | sun.util.calendar.Gregorian |
Gregorian calendar implementation.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Calculates calendar fields from the specified number of
milliseconds since the Epoch, January 1, 1970 00:00:00 UTC
(Gregorian).
| |||||||||||
Returns the name of this calendar system.
| |||||||||||
Constructs a
CalendarDate that is specific to this
calendar system. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Calculates calendar fields from the specified number of milliseconds since the Epoch, January 1, 1970 00:00:00 UTC (Gregorian). This method doesn't check overflow or underflow when adjusting the millisecond value (representing UTC) with the time zone offsets (i.e., the GMT offset and amount of daylight saving).
millis | the offset value in milliseconds from January 1, 1970 00:00:00 UTC (Gregorian). |
---|
CalendarDate
instance that contains the
calculated calendar field values.
Constructs a CalendarDate
that is specific to this
calendar system. All calendar fields have their initial
values. The default time zone
is
set to the instance.
CalendarDate
instance that contains the initial
calendar field values.