| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final Era[] | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public JulianCalendar. | |
| public JulianCalendar. | getCalendarDate(long millis)
Overrides sun. Calculates calendar fields from the specified number of milliseconds since the Epoch, January 1, 1970 00:00:00 UTC (Gregorian). |
| public JulianCalendar. | getCalendarDate(long millis, CalendarDate date)
Overrides sun.
|
| public JulianCalendar. | getCalendarDate(long millis, TimeZone zone)
Overrides sun.
|
| public void | getCalendarDateFromFixedDate(CalendarDate date, long fixedDate)
Overrides sun. Calculates calendar fields and store them in the specified
|
| public int | getDayOfWeek(CalendarDate date)
Overrides sun. Returns the day of week of the given Gregorian date. |
| public long | getFixedDate(int
normalized Julian year jyear, int month, int dayOfMonth, BaseCalendar.Overrides sun.
|
| public String | getName()
Implements abstract sun. Returns the name of this calendar system. |
| public int | getYearFromFixedDate(long fixedDate)
Overrides sun. Returns the normalized Julian year number of the given fixed date. |
| pack-priv boolean | |
| public JulianCalendar. | newCalendarDate()
Implements abstract sun. Constructs a |
| public JulianCalendar. |
| BCE | back to summary |
|---|---|
| private static final int BCE | |
| CE | back to summary |
|---|---|
| private static final int CE | |
| eras | back to summary |
|---|---|
| private static final Era[] eras | |
| JULIAN_EPOCH | back to summary |
|---|---|
| private static final int JULIAN_EPOCH | |
| JulianCalendar | back to summary |
|---|---|
| pack-priv JulianCalendar() | |
| getCalendarDate | back to summary |
|---|---|
| public JulianCalendar. Overrides sun.
| |
| getCalendarDate | back to summary |
|---|---|
| public JulianCalendar. Overrides sun. Doc from sun. 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).
| |
| getCalendarDate | back to summary |
|---|---|
| public JulianCalendar. Overrides sun.
| |
| getCalendarDate | back to summary |
|---|---|
| public JulianCalendar. Overrides sun.
| |
| getCalendarDateFromFixedDate | back to summary |
|---|---|
| public void getCalendarDateFromFixedDate(CalendarDate date, long fixedDate) Overrides sun. Doc from sun. Calculates calendar fields and store them in the specified
| |
| getDayOfWeek | back to summary |
|---|---|
| public int getDayOfWeek(CalendarDate date) Overrides sun. Doc from sun. Returns the day of week of the given Gregorian date.
| |
| getFixedDate | back to summary |
|---|---|
| public long getFixedDate(int jyear, int month, int dayOfMonth, BaseCalendar. Overrides sun.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract sun. Doc from sun. Returns the name of this calendar system.
| |
| getYearFromFixedDate | back to summary |
|---|---|
| public int getYearFromFixedDate(long fixedDate) Overrides sun. Returns the normalized Julian year number of the given fixed date.
| |
| isLeapYear | back to summary |
|---|---|
| pack-priv boolean isLeapYear(int jyear) Overrides sun.
| |
| newCalendarDate | back to summary |
|---|---|
| public JulianCalendar. Implements abstract sun. Doc from sun. Constructs a
| |
| newCalendarDate | back to summary |
|---|---|
| public JulianCalendar. Implements abstract sun.
| |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public JulianCalendar. | setEra(Era era)
Overrides sun. Sets the era of the date to the specified era. |
| pack-priv void | |
| public void | setNormalizedYear(int year)
Implements abstract sun.
|
| public String | toString()
Overrides sun. Converts calendar date values to a |
| Date | back to summary |
|---|---|
| pack-priv Date() | |
| Date | back to summary |
|---|---|
| pack-priv Date(TimeZone zone) | |
| getNormalizedYear | back to summary |
|---|---|
| public int getNormalizedYear() Implements abstract sun.
| |
| setEra | back to summary |
|---|---|
| public JulianCalendar. Overrides sun. Doc from sun. Sets the era of the date to the specified era. The default
implementation of this method accepts any Era value, including
| |
| setKnownEra | back to summary |
|---|---|
| pack-priv void setKnownEra(Era era) | |
| setNormalizedYear | back to summary |
|---|---|
| public void setNormalizedYear(int year) Implements abstract sun.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides sun. Doc from sun. Converts calendar date values to a
yyyy-MM-dd'T'HH:mm:ss.SSSz
| |