Lines Matching defs:fields

31  * {@code Date} object and a set of integer fields such as
45 * returns a calendar whose locale is based on system settings and whose time fields
57 * fields, as well as their meaning. For example, the first month of the year
83 * {@code WEEK_OF_YEAR} fields, {@code Calendar} must determine
95 * When computing a {@code Date} from time fields, two special
103 * information to specify the missing fields. This may vary by calendar; for the
108 * <strong>Inconsistent information.</strong> If fields conflict, the calendar
109 * will give preference to fields set more recently. For example, when
111 * combinations of fields. The most recent combination, as determined by the
158 * {@code Calendar} fields can be changed using three methods:
170 * other fields may also change, depending on the field, the field value, and
172 * return {@code value} after the fields have been recomputed. The
207 * smaller fields that are not expected to be invariant. The calendar system
208 * determines what fields are expected to be invariant.
213 * immediate recomputation of the calendar's milliseconds and all fields.
229 * field {@code f} without changing larger fields. This is equivalent to
234 * <strong>Roll rule</strong>. Larger fields are unchanged after the call. A
273 * fields should be affected, the user interface can behave as most users will
278 * attempting to perform arithmetic operations directly on the fields of a
280 * to have fields with non-linear behavior, for example missing months or days
294 * True iff the values in {@code fields[]} correspond to {@code time}. Despite the name, this
295 * is effectively "are the values in fields[] up-to-date?" --- {@code fields[]} may contain
298 * Accessing the fields via {@code get} will ensure the fields are up-to-date.
305 * Accessing the fields via {@code get} will ensure the fields are up-to-date.
308 protected int[] fields;
312 * false. The first time the fields are computed, these are set to true and remain set even if
322 * Whether {@code time} corresponds to the values in {@code fields[]}. If false, {@code time}
323 * is out-of-date with respect to changes {@code fields[]}.
656 * This is the total number of fields in this calendar.
707 fields = new int[FIELD_COUNT];
782 * Clears all of the fields of this {@code Calendar}. All fields are initialized to
787 fields[i] = 0;
800 fields[field] = 0;
816 clone.fields = fields.clone();
826 * Computes the time from the fields if the time has not already been set.
827 * Computes the fields from the time if the fields are not already set.
845 * Computes the {@code Calendar} fields from {@code time}.
850 * Computes {@code time} from the Calendar fields.
893 * if the fields are not set, the time is not set, and the
896 * if the field is not inside the range of possible fields.
901 return fields[field];
1085 * Computes the time from the fields if required and returns the time.
1132 return fields[field];
1154 * {@code get} -- which will update fields as necessary -- rather than try to make use of
1168 * current date. Other fields will be adjusted as required to maintain a
1187 * date. Other fields will be adjusted as required to maintain a consistent
1206 fields[field] = value;
1221 * Sets the year, month and day of the month fields. Other fields are not
1238 * Sets the year, month, day of the month, hour of day and minute fields.
1239 * Other fields are not changed.
1261 * fields. Other fields are not changed.
1366 result.append(fields[i]);
1498 new ObjectStreamField("fields", int[].class),
1514 putFields.put("fields", this.fields);
1530 this.fields = (int[]) readFields.get("fields", null);