| Modifier and Type | Field and Description |
|---|---|
| private final BaseCalendar. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public CalendarDate | |
| public CalendarDate | |
| public CalendarDate | |
| public Object | |
| public boolean | equals(Object obj)
Overrides sun. Indicates whether some other object is "equal to" this one. |
| public int | |
| public int | |
| public int | |
| public Era | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public long | |
| public int | |
| public TimeZone | |
| public int | |
| public int | hashCode()
Overrides sun. Returns a hash code value for this object. |
| public boolean | |
| public boolean | isLeapYear()
Overrides sun. Returns whether the year represented by this
|
| public boolean | |
| public boolean | isSameDate(CalendarDate date)
Overrides sun. Returns whether the specified date is the same date of this
|
| public CalendarDate | |
| protected void | |
| public CalendarDate | |
| protected void | |
| public CalendarDate | setEra(Era era)
Overrides sun. Sets the era of the date to the specified era. |
| public CalendarDate | |
| pack-priv void | |
| public CalendarDate | |
| public CalendarDate | |
| public CalendarDate | |
| protected void | |
| public void | setNormalizedYear(int normalizedYear)
Implements abstract sun.
|
| public CalendarDate | |
| public CalendarDate | setTimeOfDay(int hours, int minutes, int seconds, int millis)
Overrides sun.
|
| protected void | |
| public CalendarDate | |
| public CalendarDate | |
| protected void | |
| public String | toString()
Overrides sun. Converts calendar date values to a |
| private void |
| date | back to summary |
|---|---|
| private final BaseCalendar. | |
| ImmutableGregorianDate | back to summary |
|---|---|
| pack-priv ImmutableGregorianDate(BaseCalendar. | |
| addHours | back to summary |
|---|---|
| public CalendarDate addHours(int n) Overrides sun.
| |
| addMonth | back to summary |
|---|---|
| public CalendarDate addMonth(int n) Overrides sun.
| |
| addYear | back to summary |
|---|---|
| public CalendarDate addYear(int n) Overrides sun.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides sun. Doc from sun. Returns a copy of this
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides sun. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getDaylightSaving | back to summary |
|---|---|
| public int getDaylightSaving() Overrides sun.
| |
| getDayOfMonth | back to summary |
|---|---|
| public int getDayOfMonth() Overrides sun.
| |
| getDayOfWeek | back to summary |
|---|---|
| public int getDayOfWeek() Overrides sun. Doc from sun. Returns the day of week value. If this CalendarDate is not
normalized,
| |
| getEra | back to summary |
|---|---|
| public Era getEra() Overrides sun.
| |
| getHours | back to summary |
|---|---|
| public int getHours() Overrides sun.
| |
| getMillis | back to summary |
|---|---|
| public int getMillis() Overrides sun.
| |
| getMinutes | back to summary |
|---|---|
| public int getMinutes() Overrides sun.
| |
| getMonth | back to summary |
|---|---|
| public int getMonth() Overrides sun.
| |
| getNormalizedYear | back to summary |
|---|---|
| public int getNormalizedYear() Implements abstract sun.
| |
| getSeconds | back to summary |
|---|---|
| public int getSeconds() Overrides sun.
| |
| getTimeOfDay | back to summary |
|---|---|
| public long getTimeOfDay() Overrides sun.
| |
| getYear | back to summary |
|---|---|
| public int getYear() Overrides sun.
| |
| getZone | back to summary |
|---|---|
| public TimeZone getZone() Overrides sun.
| |
| getZoneOffset | back to summary |
|---|---|
| public int getZoneOffset() Overrides sun.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides sun. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isDaylightTime | back to summary |
|---|---|
| public boolean isDaylightTime() Overrides sun.
| |
| isLeapYear | back to summary |
|---|---|
| public boolean isLeapYear() Overrides sun. Doc from sun. Returns whether the year represented by this
If this
| |
| isNormalized | back to summary |
|---|---|
| public boolean isNormalized() Overrides sun.
| |
| isSameDate | back to summary |
|---|---|
| public boolean isSameDate(CalendarDate date) Overrides sun. Doc from sun. Returns whether the specified date is the same date of this
| |
| setDate | back to summary |
|---|---|
| public CalendarDate setDate(int year, int month, int dayOfMonth) Overrides sun.
| |
| setDaylightSaving | back to summary |
|---|---|
| protected void setDaylightSaving(int daylightSaving) Overrides sun.
| |
| setDayOfMonth | back to summary |
|---|---|
| public CalendarDate setDayOfMonth(int date) Overrides sun.
| |
| setDayOfWeek | back to summary |
|---|---|
| protected void setDayOfWeek(int dayOfWeek) Overrides sun.
| |
| setEra | back to summary |
|---|---|
| public CalendarDate setEra(Era era) Overrides sun. Doc from sun. Sets the era of the date to the specified era. The default
implementation of this method accepts any Era value, including
| |
| setHours | back to summary |
|---|---|
| public CalendarDate setHours(int hours) Overrides sun.
| |
| setLeapYear | back to summary |
|---|---|
| pack-priv void setLeapYear(boolean leapYear) Overrides sun.
| |
| setMillis | back to summary |
|---|---|
| public CalendarDate setMillis(int millis) Overrides sun.
| |
| setMinutes | back to summary |
|---|---|
| public CalendarDate setMinutes(int minutes) Overrides sun.
| |
| setMonth | back to summary |
|---|---|
| public CalendarDate setMonth(int month) Overrides sun.
| |
| setNormalized | back to summary |
|---|---|
| protected void setNormalized(boolean normalized) Overrides sun.
| |
| setNormalizedYear | back to summary |
|---|---|
| public void setNormalizedYear(int normalizedYear) Implements abstract sun.
| |
| setSeconds | back to summary |
|---|---|
| public CalendarDate setSeconds(int seconds) Overrides sun.
| |
| setTimeOfDay | back to summary |
|---|---|
| public CalendarDate setTimeOfDay(int hours, int minutes, int seconds, int millis) Overrides sun.
| |
| setTimeOfDay | back to summary |
|---|---|
| protected void setTimeOfDay(long fraction) Overrides sun.
| |
| setYear | back to summary |
|---|---|
| public CalendarDate setYear(int year) Overrides sun.
| |
| setZone | back to summary |
|---|---|
| public CalendarDate setZone(TimeZone zoneinfo) Overrides sun.
| |
| setZoneOffset | back to summary |
|---|---|
| protected void setZoneOffset(int offset) Overrides sun.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides sun. Doc from sun. Converts calendar date values to a
yyyy-MM-dd'T'HH:mm:ss.SSSz
| |
| unsupported | back to summary |
|---|---|
| private void unsupported() | |