| java.lang.Object com.ibm.icu.util.Calendar com.ibm.icu.util.CECalendar com.ibm.icu.util.EthiopicCalendar
Field Summary | |
final public static int | GENBOT Constant for \u130d\u1295\u1266\u1275, the 9th month of the Ethiopic year. | final public static int | HAMLE Constant for \u1210\u121d\u120c, the 11th month of the Ethiopic year. | final public static int | HEDAR Constant for \u1285\u12f3\u122d, the 3rd month of the Ethiopic year. | final public static int | MEGABIT Constant for \u1218\u130b\u1262\u1275, the 7th month of the Ethiopic year. | final public static int | MESKEREM Constant for \u1218\u1235\u12a8\u1228\u121d, the 1st month of the Ethiopic year. | final public static int | MIAZIA Constant for \u121a\u12eb\u12dd\u12eb, the 8th month of the Ethiopic year. | final public static int | NEHASSE Constant for \u1290\u1210\u1234, the 12th month of the Ethiopic year. | final public static int | PAGUMEN Constant for \u1333\u1309\u121c\u1295, the 13th month of the Ethiopic year. | final public static int | SENE Constant for \u1230\u1294, the 10th month of the Ethiopic year. | final public static int | TAHSAS Constant for \u1273\u1285\u1223\u1225, the 4th month of the Ethiopic year. | final public static int | TEKEMT Constant for \u1325\u1245\u121d\u1275, the 2nd month of the Ethiopic year. | final public static int | TER Constant for \u1325\u122d, the 5th month of the Ethiopic year. | final public static int | YEKATIT Constant for \u12e8\u12ab\u1272\u1275, the 6th month of the Ethiopic year. |
Constructor Summary | |
public | EthiopicCalendar() Constructs a default EthiopicCalendar using the current time
in the default time zone with the default locale. | public | EthiopicCalendar(TimeZone zone) Constructs a EthiopicCalendar based on the current time
in the given time zone with the default locale. | public | EthiopicCalendar(Locale aLocale) Constructs a EthiopicCalendar based on the current time
in the default time zone with the given locale. | public | EthiopicCalendar(ULocale locale) Constructs a EthiopicCalendar based on the current time
in the default time zone with the given locale. | public | EthiopicCalendar(TimeZone zone, Locale aLocale) Constructs a EthiopicCalendar based on the current time
in the given time zone with the given locale. | public | EthiopicCalendar(TimeZone zone, ULocale locale) Constructs a EthiopicCalendar based on the current time
in the given time zone with the given locale. | 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.
Parameters: year - The value used to set the calendar's EthiopicCalendar.YEAR YEAR time field. Parameters: month - The value used to set the calendar's EthiopicCalendar.MONTH MONTH time field.The value is 0-based. | public | EthiopicCalendar(Date date) Constructs a EthiopicCalendar with the given date set
in the default time zone with the default locale. | 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.
Parameters: year - The value used to set the calendar's EthiopicCalendar.YEAR YEAR time field. Parameters: month - The value used to set the calendar's EthiopicCalendar.MONTH MONTH time field.The value is 0-based. |
Method Summary | |
public static int | EthiopicToJD(long year, int month, int date) Convert an Ethiopic year, month, and day to a Julian day. | public static Integer[] | getDateFromJD(int julianDay) | public String | getType() Return the current Calendar type. | public boolean | isAmeteAlemEra() Return true if this calendar is set to the Amete Alem era. | public void | setAmeteAlemEra(boolean onOff) Set Alem or Mihret era. |
GENBOT | final public static int GENBOT(Code) | | Constant for \u130d\u1295\u1266\u1275, the 9th month of the Ethiopic year.
|
HAMLE | final public static int HAMLE(Code) | | Constant for \u1210\u121d\u120c, the 11th month of the Ethiopic year.
|
HEDAR | final public static int HEDAR(Code) | | Constant for \u1285\u12f3\u122d, the 3rd month of the Ethiopic year.
|
MEGABIT | final public static int MEGABIT(Code) | | Constant for \u1218\u130b\u1262\u1275, the 7th month of the Ethiopic year.
|
MESKEREM | final public static int MESKEREM(Code) | | Constant for \u1218\u1235\u12a8\u1228\u121d, the 1st month of the Ethiopic year.
|
MIAZIA | final public static int MIAZIA(Code) | | Constant for \u121a\u12eb\u12dd\u12eb, the 8th month of the Ethiopic year.
|
NEHASSE | final public static int NEHASSE(Code) | | Constant for \u1290\u1210\u1234, the 12th month of the Ethiopic year.
|
PAGUMEN | final public static int PAGUMEN(Code) | | Constant for \u1333\u1309\u121c\u1295, the 13th month of the Ethiopic year.
|
SENE | final public static int SENE(Code) | | Constant for \u1230\u1294, the 10th month of the Ethiopic year.
|
TAHSAS | final public static int TAHSAS(Code) | | Constant for \u1273\u1285\u1223\u1225, the 4th month of the Ethiopic year.
|
TEKEMT | final public static int TEKEMT(Code) | | Constant for \u1325\u1245\u121d\u1275, the 2nd month of the Ethiopic year.
|
TER | final public static int TER(Code) | | Constant for \u1325\u122d, the 5th month of the Ethiopic year.
|
YEKATIT | final public static int YEKATIT(Code) | | Constant for \u12e8\u12ab\u1272\u1275, the 6th month of the Ethiopic year.
|
EthiopicCalendar | public EthiopicCalendar()(Code) | | Constructs a default EthiopicCalendar using the current time
in the default time zone with the default locale.
|
EthiopicCalendar | public EthiopicCalendar(TimeZone zone)(Code) | | Constructs a EthiopicCalendar based on the current time
in the given time zone with the default locale.
Parameters: zone - The time zone for the new calendar. |
EthiopicCalendar | public EthiopicCalendar(Locale aLocale)(Code) | | Constructs a EthiopicCalendar based on the current time
in the default time zone with the given locale.
Parameters: aLocale - The locale for the new calendar. |
EthiopicCalendar | public EthiopicCalendar(ULocale locale)(Code) | | Constructs a EthiopicCalendar based on the current time
in the default time zone with the given locale.
Parameters: locale - The icu locale for the new calendar. |
EthiopicCalendar | public EthiopicCalendar(TimeZone zone, Locale aLocale)(Code) | | Constructs a EthiopicCalendar based on the current time
in the given time zone with the given locale.
Parameters: zone - The time zone for the new calendar. Parameters: aLocale - The locale for the new calendar. |
EthiopicCalendar | public EthiopicCalendar(TimeZone zone, ULocale locale)(Code) | | Constructs a EthiopicCalendar based on the current time
in the given time zone with the given locale.
Parameters: zone - The time zone for the new calendar. Parameters: locale - The icu locale for the new calendar. |
EthiopicCalendar | public EthiopicCalendar(int year, int month, int date)(Code) | | Constructs a 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 EthiopicCalendar.YEAR YEAR time field. Parameters: month - The value used to set the calendar's EthiopicCalendar.MONTH MONTH time field.The value is 0-based. e.g., 0 for Meskerem. Parameters: date - The value used to set the calendar's EthiopicCalendar.DATE DATE time field. |
EthiopicCalendar | public EthiopicCalendar(Date date)(Code) | | Constructs a 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. |
EthiopicCalendar | public EthiopicCalendar(int year, int month, int date, int hour, int minute, int second)(Code) | | Constructs a 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 EthiopicCalendar.YEAR YEAR time field. Parameters: month - The value used to set the calendar's EthiopicCalendar.MONTH MONTH time field.The value is 0-based. e.g., 0 for Meskerem. Parameters: date - The value used to set the calendar's EthiopicCalendar.DATE DATE time field. Parameters: hour - The value used to set the calendar's EthiopicCalendar.HOUR_OF_DAY HOUR_OF_DAY time field. Parameters: minute - The value used to set the calendar's EthiopicCalendar.MINUTE MINUTE time field. Parameters: second - The value used to set the calendar's EthiopicCalendar.SECOND SECOND time field. |
EthiopicToJD | public static int EthiopicToJD(long year, int month, int date)(Code) | | Convert an Ethiopic year, month, and day to a Julian day.
Parameters: year - the year Parameters: month - the month Parameters: date - the day |
getDateFromJD | public static Integer[] getDateFromJD(int julianDay)(Code) | | |
getType | public String getType()(Code) | | Return the current Calendar type.
type of calendar (gregorian, etc.) |
isAmeteAlemEra | public boolean isAmeteAlemEra()(Code) | | 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)(Code) | | Set Alem or Mihret era.
Parameters: onOff - Set Amete Alem era if true, otherwise set Amete Mihret era. |
Fields inherited from com.ibm.icu.util.CECalendar | protected int jdEpochOffset(Code)(Java Doc)
|
Methods inherited from com.ibm.icu.util.Calendar | public void add(int field, int amount)(Code)(Java Doc) public boolean after(Object when)(Code)(Java Doc) public boolean before(Object when)(Code)(Java Doc) final public void clear()(Code)(Java Doc) final public void clear(int field)(Code)(Java Doc) public Object clone()(Code)(Java Doc) public int compareTo(Calendar that)(Code)(Java Doc) public int compareTo(Object that)(Code)(Java Doc) protected void complete()(Code)(Java Doc) protected void computeFields()(Code)(Java Doc) final protected void computeGregorianFields(int julianDay)(Code)(Java Doc) protected int computeGregorianMonthStart(int year, int month)(Code)(Java Doc) protected int computeJulianDay()(Code)(Java Doc) protected int computeMillisInDay()(Code)(Java Doc) protected void computeTime()(Code)(Java Doc) protected int computeZoneOffset(long millis, int millisInDay)(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public int fieldDifference(Date when, int field)(Code)(Java Doc) protected String fieldName(int field)(Code)(Java Doc) final protected static long floorDivide(long numerator, long denominator)(Code)(Java Doc) final protected static int floorDivide(int numerator, int denominator)(Code)(Java Doc) final protected static int floorDivide(int numerator, int denominator, int[] remainder)(Code)(Java Doc) final protected static int floorDivide(long numerator, int denominator, int[] remainder)(Code)(Java Doc) final public int get(int field)(Code)(Java Doc) public int getActualMaximum(int field)(Code)(Java Doc) public int getActualMinimum(int field)(Code)(Java Doc) public static Locale[] getAvailableLocales()(Code)(Java Doc) public static ULocale[] getAvailableULocales()(Code)(Java Doc) static Set getCalendarFactoryNames()(Code)(Java Doc) public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, Locale loc)(Code)(Java Doc) public DateFormat getDateTimeFormat(int dateStyle, int timeStyle, ULocale loc)(Code)(Java Doc) public int getDayOfWeekType(int dayOfWeek)(Code)(Java Doc) protected int getDefaultDayInMonth(int extendedYear, int month)(Code)(Java Doc) protected int getDefaultMonthInYear(int extendedYear)(Code)(Java Doc) public String getDisplayName(Locale loc)(Code)(Java Doc) public String getDisplayName(ULocale loc)(Code)(Java Doc) final public int getFieldCount()(Code)(Java Doc) protected int[][][] getFieldResolutionTable()(Code)(Java Doc) public int getFirstDayOfWeek()(Code)(Java Doc) final public int getGreatestMinimum(int field)(Code)(Java Doc) final protected int getGregorianDayOfMonth()(Code)(Java Doc) final protected int getGregorianDayOfYear()(Code)(Java Doc) final protected int getGregorianMonth()(Code)(Java Doc) final protected int getGregorianYear()(Code)(Java Doc) public static synchronized Calendar getInstance()(Code)(Java Doc) public static synchronized Calendar getInstance(TimeZone zone)(Code)(Java Doc) public static synchronized Calendar getInstance(Locale aLocale)(Code)(Java Doc) public static synchronized Calendar getInstance(ULocale locale)(Code)(Java Doc) public static synchronized Calendar getInstance(TimeZone zone, Locale aLocale)(Code)(Java Doc) public static synchronized Calendar getInstance(TimeZone zone, ULocale locale)(Code)(Java Doc) static synchronized Calendar getInstance(TimeZone zone, ULocale locale, String factoryName)(Code)(Java Doc) final public int getLeastMaximum(int field)(Code)(Java Doc) protected int getLimit(int field, int limitType)(Code)(Java Doc) final public ULocale getLocale(ULocale.Type type)(Code)(Java Doc) final public int getMaximum(int field)(Code)(Java Doc) public int getMinimalDaysInFirstWeek()(Code)(Java Doc) final public int getMinimum(int field)(Code)(Java Doc) final protected int getStamp(int field)(Code)(Java Doc) final public Date getTime()(Code)(Java Doc) public long getTimeInMillis()(Code)(Java Doc) public TimeZone getTimeZone()(Code)(Java Doc) public String getType()(Code)(Java Doc) public int getWeekendTransition(int dayOfWeek)(Code)(Java Doc) final protected static int gregorianMonthLength(int y, int m)(Code)(Java Doc) final protected static int gregorianPreviousMonthLength(int y, int m)(Code)(Java Doc) protected void handleComputeFields(int julianDay)(Code)(Java Doc) protected int handleComputeJulianDay(int bestField)(Code)(Java Doc) abstract protected int handleComputeMonthStart(int eyear, int month, boolean useMonth)(Code)(Java Doc) protected int[] handleCreateFields()(Code)(Java Doc) protected DateFormat handleGetDateFormat(String pattern, Locale locale)(Code)(Java Doc) protected DateFormat handleGetDateFormat(String pattern, ULocale locale)(Code)(Java Doc) abstract protected int handleGetExtendedYear()(Code)(Java Doc) abstract protected int handleGetLimit(int field, int limitType)(Code)(Java Doc) protected int handleGetMonthLength(int extendedYear, int month)(Code)(Java Doc) protected int handleGetYearLength(int eyear)(Code)(Java Doc) public int hashCode()(Code)(Java Doc) final protected int internalGet(int field)(Code)(Java Doc) final protected int internalGet(int field, int defaultValue)(Code)(Java Doc) final protected long internalGetTimeInMillis()(Code)(Java Doc) final protected void internalSet(int field, int value)(Code)(Java Doc) public boolean isEquivalentTo(Calendar other)(Code)(Java Doc) final protected static boolean isGregorianLeapYear(int year)(Code)(Java Doc) public boolean isLenient()(Code)(Java Doc) final public boolean isSet(int field)(Code)(Java Doc) public boolean isWeekend(Date date)(Code)(Java Doc) public boolean isWeekend()(Code)(Java Doc) final protected static int julianDayToDayOfWeek(int julian)(Code)(Java Doc) final protected static long julianDayToMillis(int julian)(Code)(Java Doc) final protected static int millisToJulianDay(long millis)(Code)(Java Doc) protected int newerField(int defaultField, int alternateField)(Code)(Java Doc) protected int newestStamp(int first, int last, int bestStampSoFar)(Code)(Java Doc) protected void pinField(int field)(Code)(Java Doc) protected void prepareGetActual(int field, boolean isMinimum)(Code)(Java Doc) static Object register(CalendarFactory factory, ULocale locale)(Code)(Java Doc) static Object register(CalendarFactory factory, ULocale locale, boolean visible)(Code)(Java Doc) protected int resolveFields(int[][][] precedenceTable)(Code)(Java Doc) final public void roll(int field, boolean up)(Code)(Java Doc) public void roll(int field, int amount)(Code)(Java Doc) final public void set(int field, int value)(Code)(Java Doc) final public void set(int year, int month, int date)(Code)(Java Doc) final public void set(int year, int month, int date, int hour, int minute)(Code)(Java Doc) final public void set(int year, int month, int date, int hour, int minute, int second)(Code)(Java Doc) public void setFirstDayOfWeek(int value)(Code)(Java Doc) public void setLenient(boolean lenient)(Code)(Java Doc) final void setLocale(ULocale valid, ULocale actual)(Code)(Java Doc) public void setMinimalDaysInFirstWeek(int value)(Code)(Java Doc) final public void setTime(Date date)(Code)(Java Doc) public void setTimeInMillis(long millis)(Code)(Java Doc) public void setTimeZone(TimeZone value)(Code)(Java Doc) public String toString()(Code)(Java Doc) static boolean unregister(Object registryKey)(Code)(Java Doc) protected void validateField(int field)(Code)(Java Doc) final protected void validateField(int field, int min, int max)(Code)(Java Doc) protected void validateFields()(Code)(Java Doc) protected int weekNumber(int desiredDay, int dayOfPeriod, int dayOfWeek)(Code)(Java Doc) final protected int weekNumber(int dayOfPeriod, int dayOfWeek)(Code)(Java Doc)
|
|
|