com.ibm.icu.util
Class EthiopicCalendar
- Cloneable, Comparable, Serializable
public final class EthiopicCalendar
extends com.ibm.icu.util.CECalendar
Implement the Ethiopic calendar system.
EthiopicCalendar usually should be instantiated using
Calendar.getInstance(ULocale)
passing in a
ULocale
with the tag
"@calendar=ethiopic"
.
static int | GENBOT - Constant for \u130d\u1295\u1266\u1275, the 9th month of the Ethiopic year.
|
static int | HAMLE - Constant for \u1210\u121d\u120c, the 11th month of the Ethiopic year.
|
static int | HEDAR - Constant for \u1285\u12f3\u122d, the 3rd month of the Ethiopic year.
|
static int | MEGABIT - Constant for \u1218\u130b\u1262\u1275, the 7th month of the Ethiopic year.
|
static int | MESKEREM - Constant for \u1218\u1235\u12a8\u1228\u121d, the 1st month of the Ethiopic year.
|
static int | MIAZIA - Constant for \u121a\u12eb\u12dd\u12eb, the 8th month of the Ethiopic year.
|
static int | NEHASSE - Constant for \u1290\u1210\u1234, the 12th month of the Ethiopic year.
|
static int | PAGUMEN - Constant for \u1333\u1309\u121c\u1295, the 13th month of the Ethiopic year.
|
static int | SENE - Constant for \u1230\u1294, the 10th month of the Ethiopic year.
|
static int | TAHSAS - Constant for \u1273\u1285\u1223\u1225, the 4th month of the Ethiopic year.
|
static int | TEKEMT - Constant for \u1325\u1245\u121d\u1275, the 2nd month of the Ethiopic year.
|
static int | TER - Constant for \u1325\u122d, the 5th month of the Ethiopic year.
|
static int | YEKATIT - Constant for \u12e8\u12ab\u1272\u1275, the 6th month of the Ethiopic year.
|
AM , AM_PM , APRIL , AUGUST , BASE_FIELD_COUNT , DATE , DAY_OF_MONTH , DAY_OF_WEEK , DAY_OF_WEEK_IN_MONTH , DAY_OF_YEAR , DECEMBER , DOW_LOCAL , DST_OFFSET , EPOCH_JULIAN_DAY , ERA , EXTENDED_YEAR , FEBRUARY , FRIDAY , GREATEST_MINIMUM , HOUR , HOUR_OF_DAY , INTERNALLY_SET , JANUARY , JAN_1_1_JULIAN_DAY , JULIAN_DAY , JULY , JUNE , LEAST_MAXIMUM , MARCH , MAXIMUM , MAX_DATE , MAX_FIELD_COUNT , MAX_JULIAN , MAX_MILLIS , MAY , MILLISECOND , MILLISECONDS_IN_DAY , MINIMUM , MINIMUM_USER_STAMP , MINUTE , MIN_DATE , MIN_JULIAN , MIN_MILLIS , MONDAY , MONTH , NOVEMBER , OCTOBER , ONE_DAY , ONE_HOUR , ONE_MINUTE , ONE_SECOND , ONE_WEEK , PM , RESOLVE_REMAP , SATURDAY , SECOND , SEPTEMBER , SUNDAY , THURSDAY , TUESDAY , UNDECIMBER , UNSET , WEDNESDAY , WEEKDAY , WEEKEND , WEEKEND_CEASE , WEEKEND_ONSET , WEEK_OF_MONTH , WEEK_OF_YEAR , YEAR , YEAR_WOY , ZONE_OFFSET |
EthiopicCalendar() - Constructs a default
EthiopicCalendar using the current time
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(Locale aLocale) - Constructs a
EthiopicCalendar based on the current time
in the default time zone with the given locale.
|
EthiopicCalendar(TimeZone zone) - Constructs a
EthiopicCalendar based on the current time
in the given time zone with the default 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(ULocale locale) - Constructs a
EthiopicCalendar based on the current time
in the default 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(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.
|
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.
|
add , after , before , clear , clear , clone , compareTo , compareTo , complete , computeFields , computeGregorianFields , computeGregorianMonthStart , computeJulianDay , computeMillisInDay , computeTime , computeZoneOffset , equals , fieldDifference , fieldName , floorDivide , floorDivide , floorDivide , floorDivide , get , getActualMaximum , getActualMinimum , getAvailableLocales , getAvailableULocales , getDateTimeFormat , getDateTimeFormat , getDayOfWeekType , getDisplayName , getDisplayName , getFieldCount , getFieldResolutionTable , getFirstDayOfWeek , getGreatestMinimum , getGregorianDayOfMonth , getGregorianDayOfYear , getGregorianMonth , getGregorianYear , getInstance , getInstance , getInstance , getInstance , getInstance , getInstance , getLeastMaximum , getLimit , getLocale , getMaximum , getMinimalDaysInFirstWeek , getMinimum , getStamp , getTime , getTimeInMillis , getTimeZone , getType , getWeekendTransition , gregorianMonthLength , gregorianPreviousMonthLength , handleComputeFields , handleComputeJulianDay , handleComputeMonthStart , handleCreateFields , handleGetDateFormat , handleGetDateFormat , handleGetExtendedYear , handleGetLimit , handleGetMonthLength , handleGetYearLength , hashCode , internalGet , internalGet , internalGetTimeInMillis , internalSet , isEquivalentTo , isGregorianLeapYear , isLenient , isSet , isWeekend , isWeekend , julianDayToDayOfWeek , julianDayToMillis , millisToJulianDay , newerField , newestStamp , pinField , prepareGetActual , resolveFields , roll , roll , set , set , set , set , setFirstDayOfWeek , setLenient , setMinimalDaysInFirstWeek , setTime , setTimeInMillis , setTimeZone , toString , validateField , validateField , validateFields , weekNumber , weekNumber |
GENBOT
public static final int GENBOT
Constant for \u130d\u1295\u1266\u1275, the 9th month of the Ethiopic year.
HAMLE
public static final int HAMLE
Constant for \u1210\u121d\u120c, the 11th month of the Ethiopic year.
HEDAR
public static final int HEDAR
Constant for \u1285\u12f3\u122d, the 3rd month of the Ethiopic year.
MEGABIT
public static final int MEGABIT
Constant for \u1218\u130b\u1262\u1275, the 7th month of the Ethiopic year.
MESKEREM
public static final int MESKEREM
Constant for \u1218\u1235\u12a8\u1228\u121d, the 1st month of the Ethiopic year.
MIAZIA
public static final int MIAZIA
Constant for \u121a\u12eb\u12dd\u12eb, the 8th month of the Ethiopic year.
NEHASSE
public static final int NEHASSE
Constant for \u1290\u1210\u1234, the 12th month of the Ethiopic year.
PAGUMEN
public static final int PAGUMEN
Constant for \u1333\u1309\u121c\u1295, the 13th month of the Ethiopic year.
SENE
public static final int SENE
Constant for \u1230\u1294, the 10th month of the Ethiopic year.
TAHSAS
public static final int TAHSAS
Constant for \u1273\u1285\u1223\u1225, the 4th month of the Ethiopic year.
TEKEMT
public static final int TEKEMT
Constant for \u1325\u1245\u121d\u1275, the 2nd month of the Ethiopic year.
TER
public static final int TER
Constant for \u1325\u122d, the 5th month of the Ethiopic year.
YEKATIT
public static final int YEKATIT
Constant for \u12e8\u12ab\u1272\u1275, the 6th month of the Ethiopic year.
EthiopicCalendar
public EthiopicCalendar()
Constructs a default EthiopicCalendar
using the current time
in the default time zone with the default locale.
EthiopicCalendar
public EthiopicCalendar(Date date)
Constructs a EthiopicCalendar
with the given date set
in the default time zone with the default locale.
date
- The date to which the new calendar is set.
EthiopicCalendar
public EthiopicCalendar(Locale aLocale)
Constructs a EthiopicCalendar
based on the current time
in the default time zone with the given locale.
aLocale
- The locale for the new calendar.
EthiopicCalendar
public EthiopicCalendar(TimeZone zone)
Constructs a EthiopicCalendar
based on the current time
in the given time zone with the default locale.
zone
- The time zone for the new calendar.
EthiopicCalendar
public EthiopicCalendar(TimeZone zone,
Locale aLocale)
Constructs a EthiopicCalendar
based on the current time
in the given time zone with the given locale.
zone
- The time zone for the new calendar.aLocale
- The locale for the new calendar.
EthiopicCalendar
public EthiopicCalendar(TimeZone zone,
ULocale locale)
Constructs a EthiopicCalendar
based on the current time
in the given time zone with the given locale.
zone
- The time zone for the new calendar.locale
- The icu locale for the new calendar.
EthiopicCalendar
public EthiopicCalendar(ULocale locale)
Constructs a EthiopicCalendar
based on the current time
in the default time zone with the given locale.
locale
- The icu locale for the new calendar.
EthiopicCalendar
public EthiopicCalendar(int year,
int month,
int date)
Constructs a EthiopicCalendar
with the given date set
in the default time zone with the default locale.
year
- The value used to set the calendar's YEAR
time field.month
- The value used to set the calendar's MONTH
time field.
The value is 0-based. e.g., 0 for Meskerem.date
- The value used to set the calendar's DATE
time field.
EthiopicCalendar
public 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.
year
- The value used to set the calendar's YEAR
time field.month
- The value used to set the calendar's MONTH
time field.
The value is 0-based. e.g., 0 for Meskerem.date
- The value used to set the calendar's DATE
time field.hour
- The value used to set the calendar's HOUR_OF_DAY
time field.minute
- The value used to set the calendar's MINUTE
time field.second
- The value used to set the calendar's SECOND
time field.
EthiopicToJD
public static int EthiopicToJD(long year,
int month,
int date)
Convert an Ethiopic year, month, and day to a Julian day.
year
- the yearmonth
- the monthdate
- the day
getDateFromJD
public static Integer[] getDateFromJD(int julianDay)
getType
public String getType()
Return the current Calendar type.
- getType in interface Calendar
- type of calendar (gregorian, etc.)
isAmeteAlemEra
public boolean isAmeteAlemEra()
Return true if this calendar is set to the Amete Alem era.
- true if set to the Amete Alem era.
setAmeteAlemEra
public void setAmeteAlemEra(boolean onOff)
Set Alem or Mihret era.
onOff
- Set Amete Alem era if true, otherwise set Amete Mihret era.
Copyright (c) 2006 IBM Corporation and others.