| java.lang.Object com.ibm.icu.util.Calendar com.ibm.icu.util.CECalendar
All known Subclasses: com.ibm.icu.util.CopticCalendar, com.ibm.icu.util.EthiopicCalendar,
CECalendar | class CECalendar extends Calendar (Code) | | Base class for EthiopicCalendar and CopticCalendar.
|
Constructor Summary | |
protected | CECalendar() Constructs a default CECalendar using the current time
in the default time zone with the default locale. | protected | CECalendar(TimeZone zone) Constructs a CECalendar based on the current time
in the given time zone with the default locale. | protected | CECalendar(Locale aLocale) Constructs a CECalendar based on the current time
in the default time zone with the given locale. | protected | CECalendar(ULocale locale) Constructs a CECalendar based on the current time
in the default time zone with the given locale. | protected | CECalendar(TimeZone zone, Locale aLocale) Constructs a CECalendar based on the current time
in the given time zone with the given locale. | protected | CECalendar(TimeZone zone, ULocale locale) Constructs a CECalendar based on the current time
in the given time zone with the given locale. | protected | CECalendar(int year, int month, int date) Constructs a CECalendar with the given date set
in the default time zone with the default locale.
Parameters: year - The value used to set the calendar's CECalendar.YEAR YEAR time field. Parameters: month - The value used to set the calendar's CECalendar.MONTH MONTH time field.The value is 0-based. | protected | CECalendar(Date date) Constructs a CECalendar with the given date set
in the default time zone with the default locale. | protected | CECalendar(int year, int month, int date, int hour, int minute, int second) Constructs a CECalendar 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 CECalendar.YEAR YEAR time field. Parameters: month - The value used to set the calendar's CECalendar.MONTH MONTH time field.The value is 0-based. |
jdEpochOffset | protected int jdEpochOffset(Code) | | |
CECalendar | protected CECalendar()(Code) | | Constructs a default CECalendar using the current time
in the default time zone with the default locale.
|
CECalendar | protected CECalendar(TimeZone zone)(Code) | | Constructs a CECalendar based on the current time
in the given time zone with the default locale.
Parameters: zone - The time zone for the new calendar. |
CECalendar | protected CECalendar(Locale aLocale)(Code) | | Constructs a CECalendar based on the current time
in the default time zone with the given locale.
Parameters: aLocale - The locale for the new calendar. |
CECalendar | protected CECalendar(ULocale locale)(Code) | | Constructs a CECalendar based on the current time
in the default time zone with the given locale.
Parameters: locale - The locale for the new calendar. |
CECalendar | protected CECalendar(TimeZone zone, Locale aLocale)(Code) | | Constructs a CECalendar 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. |
CECalendar | protected CECalendar(TimeZone zone, ULocale locale)(Code) | | Constructs a CECalendar 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 locale for the new calendar. |
CECalendar | protected CECalendar(int year, int month, int date)(Code) | | Constructs a CECalendar with the given date set
in the default time zone with the default locale.
Parameters: year - The value used to set the calendar's CECalendar.YEAR YEAR time field. Parameters: month - The value used to set the calendar's CECalendar.MONTH MONTH time field.The value is 0-based. e.g., 0 for Tishri. Parameters: date - The value used to set the calendar's CECalendar.DATE DATE time field. |
CECalendar | protected CECalendar(Date date)(Code) | | Constructs a CECalendar 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. |
CECalendar | protected CECalendar(int year, int month, int date, int hour, int minute, int second)(Code) | | Constructs a CECalendar 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 CECalendar.YEAR YEAR time field. Parameters: month - The value used to set the calendar's CECalendar.MONTH MONTH time field.The value is 0-based. e.g., 0 for Tishri. Parameters: date - The value used to set the calendar's CECalendar.DATE DATE time field. Parameters: hour - The value used to set the calendar's CECalendar.HOUR_OF_DAY HOUR_OF_DAY time field. Parameters: minute - The value used to set the calendar's CECalendar.MINUTE MINUTE time field. Parameters: second - The value used to set the calendar's CECalendar.SECOND SECOND time field. |
ceToJD | public static int ceToJD(long year, int month, int date, int jdEpochOffset)(Code) | | |
getDateFromJD | public static Integer[] getDateFromJD(int julianDay, int jdEpochOffset)(Code) | | |
handleComputeFields | protected void handleComputeFields(int julianDay)(Code) | | |
handleComputeMonthStart | protected int handleComputeMonthStart(int eyear, int emonth, boolean useMonth)(Code) | | |
handleGetExtendedYear | protected int handleGetExtendedYear()(Code) | | |
handleGetLimit | protected int handleGetLimit(int field, int limitType)(Code) | | |
mod | static int mod(long i, int j)(Code) | | These utility functions can be replaced by equivalent
functions from ICU if available.
|
quotient | static int quotient(long i, int j)(Code) | | |
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)
|
|
|