public class IlvWrappedICUCalendar extends Calendar
Calendar.Builder
ALL_STYLES, AM, AM_PM, APRIL, areFieldsSet, AUGUST, DATE, DAY_OF_MONTH, DAY_OF_WEEK, DAY_OF_WEEK_IN_MONTH, DAY_OF_YEAR, DECEMBER, DST_OFFSET, ERA, FEBRUARY, FIELD_COUNT, fields, FRIDAY, HOUR, HOUR_OF_DAY, isSet, isTimeSet, JANUARY, JULY, JUNE, LONG, LONG_FORMAT, LONG_STANDALONE, MARCH, MAY, MILLISECOND, MINUTE, MONDAY, MONTH, NARROW_FORMAT, NARROW_STANDALONE, NOVEMBER, OCTOBER, PM, SATURDAY, SECOND, SEPTEMBER, SHORT, SHORT_FORMAT, SHORT_STANDALONE, SUNDAY, THURSDAY, time, TUESDAY, UNDECIMBER, WEDNESDAY, WEEK_OF_MONTH, WEEK_OF_YEAR, YEAR, ZONE_OFFSET
Constructor and Description |
---|
IlvWrappedICUCalendar(Calendar delegate)
Creates a
Calendar that delegates to an ICU
Calendar . |
Modifier and Type | Method and Description |
---|---|
void |
add(int field,
int amount)
Overridden version of the same method in
Calendar . |
Object |
clone()
Overridden version of the same method in
Calendar . |
protected void |
computeFields()
Overridden version of the same method in
Calendar . |
protected void |
computeTime()
Overridden version of the same method in
Calendar . |
boolean |
equals(Object o)
Overridden version of the same method in
Calendar . |
int |
getActualMaximum(int field)
Overridden version of the same method in
Calendar . |
int |
getActualMinimum(int field)
Overridden version of the same method in
Calendar . |
int |
getGreatestMinimum(int field)
Overridden version of the same method in
Calendar . |
int |
getLeastMaximum(int field)
Overridden version of the same method in
Calendar . |
int |
getMaximum(int field)
Overridden version of the same method in
Calendar . |
int |
getMinimum(int field)
Overridden version of the same method in
Calendar . |
Calendar |
getUnderlyingICUCalendar()
Returns the underlying ICU Calendar instance.
|
int |
hashCode()
Overridden version of the same method in
Calendar . |
void |
roll(int field,
boolean up)
Overridden version of the same method in
Calendar . |
void |
roll(int field,
int amount)
Overridden version of the same method in
Calendar . |
void |
set(int field,
int value)
Overridden version of the same method in
Calendar . |
void |
setFirstDayOfWeek(int value)
Overridden version of the same method in
Calendar . |
void |
setLenient(boolean lenient)
Overridden version of the same method in
Calendar . |
void |
setMinimalDaysInFirstWeek(int value)
Overridden version of the same method in
Calendar . |
void |
setTimeInMillis(long millis)
Overridden version of the same method in
Calendar . |
void |
setTimeZone(TimeZone zone)
Overridden version of the same method in
Calendar . |
after, before, clear, clear, compareTo, complete, get, getAvailableCalendarTypes, getAvailableLocales, getCalendarType, getDisplayName, getDisplayNames, getFirstDayOfWeek, getInstance, getInstance, getInstance, getInstance, getMinimalDaysInFirstWeek, getTime, getTimeInMillis, getTimeZone, getWeeksInWeekYear, getWeekYear, internalGet, isLenient, isSet, isWeekDateSupported, set, set, set, setTime, setWeekDate, toInstant, toString
public IlvWrappedICUCalendar(Calendar delegate)
Calendar
that delegates to an ICU
Calendar
.public Calendar getUnderlyingICUCalendar()
protected void computeTime()
Calendar
.computeTime
in class Calendar
Calendar
protected void computeFields()
Calendar
.computeFields
in class Calendar
Calendar
public void setTimeInMillis(long millis)
Calendar
.setTimeInMillis
in class Calendar
Calendar
public void set(int field, int value)
Calendar
.public void add(int field, int amount)
Calendar
.public void roll(int field, boolean up)
Calendar
.public void roll(int field, int amount)
Calendar
.public void setTimeZone(TimeZone zone)
Calendar
.setTimeZone
in class Calendar
Calendar
public void setLenient(boolean lenient)
Calendar
.setLenient
in class Calendar
Calendar
public void setFirstDayOfWeek(int value)
Calendar
.setFirstDayOfWeek
in class Calendar
Calendar
public void setMinimalDaysInFirstWeek(int value)
Calendar
.setMinimalDaysInFirstWeek
in class Calendar
Calendar
public int getMinimum(int field)
Calendar
.getMinimum
in class Calendar
Calendar
public int getMaximum(int field)
Calendar
.getMaximum
in class Calendar
Calendar
public int getGreatestMinimum(int field)
Calendar
.getGreatestMinimum
in class Calendar
Calendar
public int getLeastMaximum(int field)
Calendar
.getLeastMaximum
in class Calendar
Calendar
public int getActualMinimum(int field)
Calendar
.getActualMinimum
in class Calendar
Calendar
public int getActualMaximum(int field)
Calendar
.getActualMaximum
in class Calendar
Calendar
public int hashCode()
Calendar
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.