| Modifier and Type | Field and Description |
|---|---|
| private static final int[][] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | CECalendar()
Constructs a default |
| protected | CECalendar(TimeZone
The time zone for the new calendar. zone)Constructs a |
| protected | CECalendar(Locale
The locale for the new calendar. aLocale)Constructs a |
| protected | CECalendar(ULocale
The locale for the new calendar. locale)Constructs a |
| protected | CECalendar(TimeZone
The time zone for the new calendar. zone, Locale The locale for the new calendar. aLocale)Constructs a |
| protected | CECalendar(TimeZone
The time zone for the new calendar. zone, ULocale The locale for the new calendar. locale)Constructs a |
| protected | CECalendar(int
The value used to set the calendar's year, int YEAR time field.The value used to set the calendar's month, int MONTH time field.
The value is 0-based. e.g., 0 for Tishri.The value used to set the calendar's date)DATE time field.Constructs a |
| protected | CECalendar(Date
The date to which the new calendar is set. date)Constructs a |
| protected | CECalendar(int
The value used to set the calendar's year, int YEAR time field.The value used to set the calendar's month, int MONTH time field.
The value is 0-based. e.g., 0 for Tishri.The value used to set the calendar's date, int DATE time field.The value used to set the calendar's hour, int HOUR_OF_DAY time field.The value used to set the calendar's minute, int MINUTE time field.The value used to set the calendar's second)SECOND time field.Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public static int | Returns: Julian daythe extended year year, int the month month, int the day day, int jdEpochOffset)Convert an Coptic/Ethiopic year, month and day to a Julian day |
| protected abstract int | |
| public String | Returns: One of 13 possible strings in {"M01".. "M12", "M13"}. |
| protected int | handleComputeMonthStart(int
the extended year eyear, int the zero-based month, or 0 if useMonth is false emonth, boolean if false, compute the day before the first day of
the given year, otherwise, compute the day before the first day of
the given month useMonth)Implements abstract com. |
| protected int | handleGetLimit(int
one of the above field numbers field, int one of limitType)MINIMUM, GREATEST_MINIMUM,
LEAST_MAXIMUM, or MAXIMUMImplements abstract com. |
| protected int | handleGetMonthLength(int extendedYear, int month)
Return the number of days in the given month of the given extended
year of this calendar system.
|
| public static void | jdToCE(int julianDay, int jdEpochOffset, int[] fields)
Convert a Julian day to an Coptic/Ethiopic year, month and day |
| public void | setTemporalMonthCode(String
One of 13 possible strings in {"M01".. "M12", "M13"}. temporalMonth)
Sets The Temporal monthCode which is a string identifier that starts
with the literal grapheme "M" followed by two graphemes representing
the zero-padded month number of the current month in a normal
(non-leap) year.
|
| LIMITS | back to summary |
|---|---|
| private static final int[][] LIMITS | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| CECalendar | back to summary |
|---|---|
| protected CECalendar() Constructs a default | |
| CECalendar | back to summary |
|---|---|
| protected CECalendar(TimeZone zone) Constructs a
| |
| CECalendar | back to summary |
|---|---|
| protected CECalendar(Locale aLocale) Constructs a
| |
| CECalendar | back to summary |
|---|---|
| protected CECalendar(ULocale locale) Constructs a
| |
| CECalendar | back to summary |
|---|---|
| protected CECalendar(TimeZone zone, Locale aLocale) Constructs a | |
| CECalendar | back to summary |
|---|---|
| protected CECalendar(TimeZone zone, ULocale locale) Constructs a | |
| CECalendar | back to summary |
|---|---|
| protected CECalendar(int year, int month, int date) Constructs a | |
| CECalendar | back to summary |
|---|---|
| protected CECalendar(Date date) Constructs a
| |
| CECalendar | back to summary |
|---|---|
| protected CECalendar(int year, int month, int date, int hour, int minute, int second) Constructs a
| |
| ceToJD | back to summary |
|---|---|
| public static int ceToJD(long year, int month, int day, int jdEpochOffset) Convert an Coptic/Ethiopic year, month and day to a Julian day
| |
| getJDEpochOffset | back to summary |
|---|---|
| protected abstract int getJDEpochOffset() The Coptic and Ethiopic calendars differ only in their epochs. This method must be implemented by CECalendar subclasses to return the date offset from Julian. | |
| getTemporalMonthCode | back to summary |
|---|---|
| public String getTemporalMonthCode() Overrides com. Gets The Temporal monthCode value corresponding to the month for the date. The value is a string identifier that starts with the literal grapheme "M" followed by two graphemes representing the zero-padded month number of the current month in a normal (non-leap) year. For the short thirteen month in each year in the CECalendar, the value is "M13". | |
| handleComputeMonthStart | back to summary |
|---|---|
| protected int handleComputeMonthStart(int eyear, int emonth, boolean useMonth) Implements abstract com. Return JD of start of given month/extended year
| |
| handleGetLimit | back to summary |
|---|---|
| protected int handleGetLimit(int field, int limitType) Implements abstract com. Calculate the limit for a specified type of limit and field
| |
| handleGetMonthLength | back to summary |
|---|---|
| protected int handleGetMonthLength(int extendedYear, int month) Overrides com. Return the number of days in the given month of the given extended year of this calendar system. Subclasses should override this method if they can provide a more correct or more efficient implementation than the default implementation in Calendar. | |
| jdToCE | back to summary |
|---|---|
| public static void jdToCE(int julianDay, int jdEpochOffset, int[] fields) Convert a Julian day to an Coptic/Ethiopic year, month and day | |
| setTemporalMonthCode | back to summary |
|---|---|
| public void setTemporalMonthCode(String temporalMonth) Overrides com. Sets The Temporal monthCode which is a string identifier that starts with the literal grapheme "M" followed by two graphemes representing the zero-padded month number of the current month in a normal (non-leap) year. For CECalendar calendar, the values are "M01" .. "M13" while the "M13" is represent the short thirteen month in each year. | |