com.ibm.icu.util
public final class EthiopicCalendar extends CECalendar
EthiopicCalendar usually should be instantiated using
{@link com.ibm.icu.util.Calendar#getInstance(ULocale)} passing in a ULocale
with the tag "@calendar=ethiopic"
.
See Also: Calendar
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
Field Summary | |
---|---|
static int | GENBOT
Constant for ግንቦት, the 9th month of the Ethiopic year. |
static int | HAMLE
Constant for ሐምሌ, the 11th month of the Ethiopic year. |
static int | HEDAR
Constant for ኅዳር, the 3rd month of the Ethiopic year. |
static int | MEGABIT
Constant for መጋቢት, the 7th month of the Ethiopic year. |
static int | MESKEREM
Constant for መስከረም, the 1st month of the Ethiopic year. |
static int | MIAZIA
Constant for ሚያዝያ, the 8th month of the Ethiopic year. |
static int | NEHASSE
Constant for ነሐሴ, the 12th month of the Ethiopic year. |
static int | PAGUMEN
Constant for ጳጉሜን, the 13th month of the Ethiopic year. |
static int | SENE
Constant for ሰኔ, the 10th month of the Ethiopic year. |
static int | TAHSAS
Constant for ታኅሣሥ, the 4th month of the Ethiopic year. |
static int | TEKEMT
Constant for ጥቅምት, the 2nd month of the Ethiopic year. |
static int | TER
Constant for ጥር, the 5th month of the Ethiopic year. |
static int | YEKATIT
Constant for የካቲት, the 6th month of the Ethiopic year. |
Constructor Summary | |
---|---|
EthiopicCalendar()
Constructs a default EthiopicCalendar using the current time
in the default time zone with the default locale.
| |
EthiopicCalendar(TimeZone zone)
Constructs a EthiopicCalendar based on the current time
in the given time zone with the default locale.
| |
EthiopicCalendar(Locale aLocale)
Constructs a EthiopicCalendar based on the current time
in the default time zone with the given locale.
| |
EthiopicCalendar(ULocale locale)
Constructs a EthiopicCalendar based on the current time
in the default time zone with the given locale.
| |
EthiopicCalendar(TimeZone zone, Locale aLocale)
Constructs a EthiopicCalendar based on the current time
in the given time zone with the given locale.
| |
EthiopicCalendar(TimeZone zone, ULocale locale)
Constructs a EthiopicCalendar based on the current time
in the given time zone with the given locale.
| |
EthiopicCalendar(int year, int month, int date)
Constructs a EthiopicCalendar with the given date set
in the default time zone with the default locale.
| |
EthiopicCalendar(Date date)
Constructs a EthiopicCalendar with the given date set
in the default time zone with the default locale.
| |
EthiopicCalendar(int year, int month, int date, int hour, int minute, int second)
Constructs a EthiopicCalendar with the given date
and time set for the default time zone with the default locale.
|
Method Summary | |
---|---|
static int | EthiopicToJD(long year, int month, int date)
Convert an Ethiopic year, month, and day to a Julian day.
|
static Integer[] | getDateFromJD(int julianDay) |
String | getType()
Return the current Calendar type. |
boolean | isAmeteAlemEra()
Return true if this calendar is set to the Amete Alem era.
|
void | setAmeteAlemEra(boolean onOff)
Set Alem or Mihret era.
|
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
EthiopicCalendar
using the current time
in the default time zone with the default locale.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
EthiopicCalendar
based on the current time
in the given time zone with the default locale.
Parameters: zone The time zone for the new calendar.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
EthiopicCalendar
based on the current time
in the default time zone with the given locale.
Parameters: aLocale The locale for the new calendar.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
EthiopicCalendar
based on the current time
in the default time zone with the given locale.
Parameters: locale The icu locale for the new calendar.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
EthiopicCalendar
based on the current time
in the given time zone with the given locale.
Parameters: zone The time zone for the new calendar. aLocale The locale for the new calendar.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
EthiopicCalendar
based on the current time
in the given time zone with the given locale.
Parameters: zone The time zone for the new calendar. locale The icu locale for the new calendar.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
EthiopicCalendar
with the given date set
in the default time zone with the default locale.
Parameters: year The value used to set the calendar's {@link #YEAR YEAR} time field. month The value used to set the calendar's {@link #MONTH MONTH} time field. The value is 0-based. e.g., 0 for Meskerem. date The value used to set the calendar's {@link #DATE DATE} time field.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
EthiopicCalendar
with the given date set
in the default time zone with the default locale.
Parameters: date The date to which the new calendar is set.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
EthiopicCalendar
with the given date
and time set for the default time zone with the default locale.
Parameters: year The value used to set the calendar's {@link #YEAR YEAR} time field. month The value used to set the calendar's {@link #MONTH MONTH} time field. The value is 0-based. e.g., 0 for Meskerem. date The value used to set the calendar's {@link #DATE DATE} time field. hour The value used to set the calendar's {@link #HOUR_OF_DAY HOUR_OF_DAY} time field. minute The value used to set the calendar's {@link #MINUTE MINUTE} time field. second The value used to set the calendar's {@link #SECOND SECOND} time field.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
Parameters: year the year month the month date the day
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
UNKNOWN: ICU 3.4
Returns: type of calendar (gregorian, etc.)
UNKNOWN: ICU 3.4
Returns: true if set to the Amete Alem era.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.
Parameters: onOff Set Amete Alem era if true, otherwise set Amete Mihret era.
UNKNOWN: ICU 3.4 This API might change or be removed in a future release.