Home | History | Annotate | Download | only in util

Lines Matching refs:stamp

853     transient private int   stamp[];
931 // Special values of stamp[]
943 * The value of the corresponding fields[] has been set externally. Stamp
955 * The next available value for <code>stamp[]</code>, an internal array.
1073 // Calendar.stamp[] (lower half) and Calendar.fields[] (upper half) combined
1198 throw new IllegalStateException("stamp counter overflow");
1523 // Set the fields from the min stamp to the max stamp so that
1525 for (int stamp = MINIMUM_USER_STAMP; stamp < nextStamp; stamp++) {
1527 if (fields[index] == stamp) {
1557 throw new IllegalStateException("stamp counter overflow");
1609 stamp = new int[FIELD_COUNT];
1868 stamp[field] = nextStamp++;
1967 stamp[i] = fields[i] = 0; // UNSET == 0
1998 stamp[field] = UNSET;
2016 return stamp[field] != UNSET;
2285 return stamp[field] >= MINIMUM_USER_STAMP;
2297 if (stamp[i] != UNSET) {
2320 stamp[i] = COMPUTED;
2327 stamp[i] = COMPUTED;
2358 stamp[i] = fields[i] = 0; // UNSET == 0
2366 // milliseconds, but the stamp values are not normalized yet.
2373 * value or fully in sync but not stamp values are not normalized yet.
2431 if (stamp[ERA] != UNSET) {
2446 int dowStamp = stamp[DAY_OF_WEEK];
2447 int monthStamp = stamp[MONTH];
2448 int domStamp = stamp[DAY_OF_MONTH];
2449 int womStamp = aggregateStamp(stamp[WEEK_OF_MONTH], dowStamp);
2450 int dowimStamp = aggregateStamp(stamp[DAY_OF_WEEK_IN_MONTH], dowStamp);
2451 int doyStamp = stamp[DAY_OF_YEAR];
2452 int woyStamp = aggregateStamp(stamp[WEEK_OF_YEAR], dowStamp);
2473 womStamp = stamp[WEEK_OF_MONTH];
2474 dowimStamp = Math.max(stamp[DAY_OF_WEEK_IN_MONTH], dowStamp);
2475 woyStamp = stamp[WEEK_OF_YEAR];
2488 (bestStamp == womStamp && stamp[WEEK_OF_MONTH] >= stamp[WEEK_OF_YEAR]) ||
2489 (bestStamp == dowimStamp && stamp[DAY_OF_WEEK_IN_MONTH] >= stamp[WEEK_OF_YEAR])) {
2501 if (stamp[WEEK_OF_MONTH] >= stamp[DAY_OF_WEEK_IN_MONTH]) {
2511 if (stamp[DAY_OF_WEEK_IN_MONTH] != UNSET) {
2534 int hourOfDayStamp = stamp[HOUR_OF_DAY];
2535 int hourStamp = aggregateStamp(stamp[HOUR], stamp[AM_PM]);
2540 bestStamp = Math.max(stamp[HOUR], stamp[AM_PM]);
2549 if (stamp[AM_PM] != UNSET) {
2554 if (stamp[MINUTE] != UNSET) {
2557 if (stamp[SECOND] != UNSET) {
2560 if (stamp[MILLISECOND] != UNSET) {
2563 if (stamp[ZONE_OFFSET] >= MINIMUM_USER_STAMP) {
2566 if (stamp[DST_OFFSET] >= MINIMUM_USER_STAMP) {
2594 * Returns the pseudo-time-stamp for two fields, given their
3290 other.stamp = new int[FIELD_COUNT];
3293 other.stamp[i] = stamp[i];
3418 * Adjusts the stamp[] values before nextStamp overflow. nextStamp
3419 * is set to the next stamp value upon the return.
3427 for (int i = 0; i < stamp.length; i++) {
3428 int v = stamp[i];
3439 for (int i = 0; i < stamp.length; i++) {
3440 if (stamp[i] == min) {
3441 stamp[i] = newStamp;
3458 if (stamp[WEEK_OF_MONTH] != COMPUTED &&
3459 stamp[WEEK_OF_YEAR] != COMPUTED) {
3471 if (stamp[WEEK_OF_MONTH] == COMPUTED) {
3478 if (stamp[WEEK_OF_YEAR] == COMPUTED) {
3539 stamp = new int[FIELD_COUNT];
3557 stamp[i] = isSet[i] ? COMPUTED : UNSET;