EthiopicCalendar usually should be instantiated using
com. passing in a ULocale
with the tag "@calendar=ethiopic".
com.ibm.icu.util.Calendar
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private int | |
| public static final int | GENBOT
Constant for ግንቦት, the 9th month of the Ethiopic year. |
| public static final int | HAMLE
Constant for ሐምሌ, the 11th month of the Ethiopic year. |
| public static final int | HEDAR
Constant for ኅዳር, the 3rd month of the Ethiopic year. |
| private static final int | |
| public static final int | MEGABIT
Constant for መጋቢት, the 7th month of the Ethiopic year. |
| public static final int | MESKEREM
Constant for መስከረም, the 1st month of the Ethiopic year. |
| public static final int | MIAZIA
Constant for ሚያዝያ, the 8th month of the Ethiopic year. |
| public static final int | NEHASSE
Constant for ነሐሴ, the 12th month of the Ethiopic year. |
| public static final int | PAGUMEN
Constant for ጳጉሜን, the 13th month of the Ethiopic year. |
| public static final int | SENE
Constant for ሰኔ, the 10th month of the Ethiopic year. |
| private static final long | |
| public static final int | TAHSAS
Constant for ታኅሣሥ, the 4th month of the Ethiopic year. |
| public static final int | TEKEMT
Constant for ጥቅምት, the 2nd month of the Ethiopic year. |
| public static final int | TER
Constant for ጥር, the 5th month of the Ethiopic year. |
| public static final int | YEKATIT
Constant for የካቲት, the 6th month of the Ethiopic year. |
| Access | Constructor and Description |
|---|---|
| public | EthiopicCalendar()
Constructs a default |
| public | EthiopicCalendar(TimeZone
The time zone for the new calendar. zone)Constructs a |
| public | EthiopicCalendar(Locale
The locale for the new calendar. aLocale)Constructs a |
| public | EthiopicCalendar(ULocale
The icu locale for the new calendar. locale)Constructs a |
| public | EthiopicCalendar(TimeZone
The time zone for the new calendar. zone, Locale The locale for the new calendar. aLocale)Constructs a |
| public | EthiopicCalendar(TimeZone
The time zone for the new calendar. zone, ULocale The icu locale for the new calendar. locale)Constructs a |
| public | EthiopicCalendar(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 Meskerem.The value used to set the calendar's date)DATE time field.Constructs a |
| public | EthiopicCalendar(Date
The date to which the new calendar is set. date)Constructs a |
| public | EthiopicCalendar(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 Meskerem.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 | EthiopicToJD(long
the year year, int the month month, int the day date)Convert an Ethiopic year, month, and day to a Julian day. |
| protected int | getJDEpochOffset()
Implements abstract com.
Deprecated
This API is ICU internal only.
The Coptic and Ethiopic calendars differ only in their epochs.
|
| public String | |
| protected void | handleComputeFields(int julianDay)
Overrides com.
Deprecated
This API is ICU internal only.
Subclasses may override this method to compute several fields
specific to each calendar system.
|
| protected int | handleGetExtendedYear()
Implements abstract com.
Deprecated
This API is ICU internal only.
Returns the extended year defined by the current fields.
|
| protected int | handleGetLimit(int
one of the above field numbers field, int one of limitType)MINIMUM, GREATEST_MINIMUM,
LEAST_MAXIMUM, or MAXIMUMOverrides com.
Deprecated
This API is ICU internal only.
Calculate the limit for a specified type of limit and field
|
| public boolean | Returns: true if set to the Amete Alem era.Return true if this calendar is set to the Amete Alem era. |
| public void | setAmeteAlemEra(boolean
Set Amete Alem era if true, otherwise set Amete Mihret era. onOff)Set Alem or Mihret era. |
| private void |
| AMETE_ALEM | back to summary |
|---|---|
| private static final int AMETE_ALEM | |
| AMETE_ALEM_ERA | back to summary |
|---|---|
| private static final int AMETE_ALEM_ERA | |
| AMETE_MIHRET | back to summary |
|---|---|
| private static final int AMETE_MIHRET | |
| AMETE_MIHRET_DELTA | back to summary |
|---|---|
| private static final int AMETE_MIHRET_DELTA | |
| AMETE_MIHRET_ERA | back to summary |
|---|---|
| private static final int AMETE_MIHRET_ERA | |
| eraType | back to summary |
|---|---|
| private int eraType | |
| GENBOT | back to summary |
|---|---|
| public static final int GENBOT Constant for ግንቦት, the 9th month of the Ethiopic year.
| |
| HAMLE | back to summary |
|---|---|
| public static final int HAMLE Constant for ሐምሌ, the 11th month of the Ethiopic year.
| |
| HEDAR | back to summary |
|---|---|
| public static final int HEDAR Constant for ኅዳር, the 3rd month of the Ethiopic year.
| |
| JD_EPOCH_OFFSET_AMETE_MIHRET | back to summary |
|---|---|
| private static final int JD_EPOCH_OFFSET_AMETE_MIHRET | |
| MEGABIT | back to summary |
|---|---|
| public static final int MEGABIT Constant for መጋቢት, the 7th month of the Ethiopic year.
| |
| MESKEREM | back to summary |
|---|---|
| public static final int MESKEREM Constant for መስከረም, the 1st month of the Ethiopic year.
| |
| MIAZIA | back to summary |
|---|---|
| public static final int MIAZIA Constant for ሚያዝያ, the 8th month of the Ethiopic year.
| |
| NEHASSE | back to summary |
|---|---|
| public static final int NEHASSE Constant for ነሐሴ, the 12th month of the Ethiopic year.
| |
| PAGUMEN | back to summary |
|---|---|
| public static final int PAGUMEN Constant for ጳጉሜን, the 13th month of the Ethiopic year.
| |
| SENE | back to summary |
|---|---|
| public static final int SENE Constant for ሰኔ, the 10th month of the Ethiopic year.
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TAHSAS | back to summary |
|---|---|
| public static final int TAHSAS Constant for ታኅሣሥ, the 4th month of the Ethiopic year.
| |
| TEKEMT | back to summary |
|---|---|
| public static final int TEKEMT Constant for ጥቅምት, the 2nd month of the Ethiopic year.
| |
| TER | back to summary |
|---|---|
| public static final int TER Constant for ጥር, the 5th month of the Ethiopic year.
| |
| YEKATIT | back to summary |
|---|---|
| public static final int YEKATIT Constant for የካቲት, the 6th month of the Ethiopic year.
| |
| EthiopicCalendar | back to summary |
|---|---|
| public EthiopicCalendar() Constructs a default
| |
| EthiopicCalendar | back to summary |
|---|---|
| public EthiopicCalendar(TimeZone zone) Constructs a | |
| EthiopicCalendar | back to summary |
|---|---|
| public EthiopicCalendar(Locale aLocale) Constructs a | |
| EthiopicCalendar | back to summary |
|---|---|
| public EthiopicCalendar(ULocale locale) Constructs a | |
| EthiopicCalendar | back to summary |
|---|---|
| public EthiopicCalendar(TimeZone zone, Locale aLocale) Constructs a | |
| EthiopicCalendar | back to summary |
|---|---|
| public EthiopicCalendar(TimeZone zone, ULocale locale) Constructs a | |
| EthiopicCalendar | back to summary |
|---|---|
| public EthiopicCalendar(int year, int month, int date) Constructs a | |
| EthiopicCalendar | back to summary |
|---|---|
| public EthiopicCalendar(Date date) Constructs a | |
| EthiopicCalendar | back to summary |
|---|---|
| public EthiopicCalendar(int year, int month, int date, int hour, int minute, int second) Constructs a
| |
| EthiopicToJD | back to summary |
|---|---|
| public static int EthiopicToJD(long year, int month, int date) Convert an Ethiopic year, month, and day to a Julian day.
| |
| getJDEpochOffset | back to summary |
|---|---|
| protected int getJDEpochOffset() Implements abstract com. Doc from com. Deprecated This API is ICU internal only. 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.
| |
| getType | back to summary |
|---|---|
| public String getType() Overrides com. Doc from com. ICU See type="old type name" for the calendar attribute of locale IDs at http://www.unicode.org/reports/tr35/#Key_Type_Definitions | |
| handleComputeFields | back to summary |
|---|---|
| protected void handleComputeFields(int julianDay) Overrides com. Doc from com. Deprecated This API is ICU internal only. Subclasses may override this method to compute several fields specific to each calendar system. These are:
In addition, subclasses should compute any subclass-specific fields, that is, fields from BASE_FIELD_COUNT to getFieldCount() - 1. The default implementation in
| |
| handleGetExtendedYear | back to summary |
|---|---|
| protected int handleGetExtendedYear() Implements abstract com. Doc from com. Deprecated This API is ICU internal only. Returns the extended year defined by the current fields. This will use the EXTENDED_YEAR field or the YEAR and supra-year fields (such as ERA) specific to the calendar system, depending on which set of fields is newer.
| |
| handleGetLimit | back to summary |
|---|---|
| protected int handleGetLimit(int field, int limitType) Overrides com. Doc from com. Deprecated This API is ICU internal only. Calculate the limit for a specified type of limit and field
| |
| isAmeteAlemEra | back to summary |
|---|---|
| public boolean isAmeteAlemEra() Return true if this calendar is set to the Amete Alem era.
| |
| setAmeteAlemEra | back to summary |
|---|---|
| public void setAmeteAlemEra(boolean onOff) Set Alem or Mihret era.
| |
| setCalcTypeForLocale | back to summary |
|---|---|
| private void setCalcTypeForLocale(ULocale locale) set type based on locale | |