CalendarBuilder keeps field-value pairs for setting
the calendar fields of the given Calendar. It has the
FIELD_COUNT-th field for the week year
support. Also ISO_DAY_OF_WEEK is used to specify
DAY_OF_WEEK in the ISO day of week numbering.
CalendarBuilder retains the semantic of the pseudo
timestamp for fields. CalendarBuilder uses a single
int array combining fields[] and stamp[] of Calendar.
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final int[] | |
| public static final int | |
| private static final int | |
| private int | |
| private static final int | |
| private int | |
| private static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv CalendarBuilder | |
| pack-priv CalendarBuilder | |
| pack-priv Calendar | |
| pack-priv boolean | |
| pack-priv static boolean | |
| pack-priv CalendarBuilder | |
| pack-priv static int | |
| pack-priv static int | |
| public String |
| COMPUTED | back to summary |
|---|---|
| private static final int COMPUTED | |
| field | back to summary |
|---|---|
| private final int[] field | |
| ISO_DAY_OF_WEEK | back to summary |
|---|---|
| public static final int ISO_DAY_OF_WEEK | |
| MAX_FIELD | back to summary |
|---|---|
| private static final int MAX_FIELD | |
| maxFieldIndex | back to summary |
|---|---|
| private int maxFieldIndex | |
| MINIMUM_USER_STAMP | back to summary |
|---|---|
| private static final int MINIMUM_USER_STAMP | |
| nextStamp | back to summary |
|---|---|
| private int nextStamp | |
| UNSET | back to summary |
|---|---|
| private static final int UNSET | |
| WEEK_YEAR | back to summary |
|---|---|
| public static final int WEEK_YEAR | |
| CalendarBuilder | back to summary |
|---|---|
| pack-priv CalendarBuilder() | |
| addYear | back to summary |
|---|---|
| pack-priv CalendarBuilder addYear(int value) | |
| clear | back to summary |
|---|---|
| pack-priv CalendarBuilder clear(int index) | |
| establish | back to summary |
|---|---|
| pack-priv Calendar establish(Calendar cal) | |
| isSet | back to summary |
|---|---|
| pack-priv boolean isSet(int index) | |
| isValidDayOfWeek | back to summary |
|---|---|
| pack-priv static boolean isValidDayOfWeek(int dayOfWeek) | |
| set | back to summary |
|---|---|
| pack-priv CalendarBuilder set(int index, int value) | |
| toCalendarDayOfWeek | back to summary |
|---|---|
| pack-priv static int toCalendarDayOfWeek(int isoDayOfWeek) | |
| toISODayOfWeek | back to summary |
|---|---|
| pack-priv static int toISODayOfWeek(int calendarDayOfWeek) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |