Lines Matching defs:dow
1573 int32_t dow = julianDayToDayOfWeek(julianDay);
1574 internalSet(UCAL_DAY_OF_WEEK,dow);
1577 int32_t dowLocal = dow - getFirstDayOfWeek() + 1;
1660 // dow: 1 2 3 4 5 6 7
1890 // in this locale. We have dow in 0..6.
1891 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek();
1892 if (dow < 0) dow += 7;
1896 int32_t fdm = (dow - internalGet(UCAL_DAY_OF_MONTH) + 1) % 7;
1912 int32_t ldm = (monthLen - internalGet(UCAL_DAY_OF_MONTH) + dow) % 7;
1918 // to fill out the last week. This day has a normalized DOW of 0.
1948 // in this locale. We have dow in 0..6.
1949 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek();
1950 if (dow < 0) dow += 7;
1954 int32_t fdy = (dow - internalGet(UCAL_DAY_OF_YEAR) + 1) % 7;
1970 int32_t ldy = (yearLen - internalGet(UCAL_DAY_OF_YEAR) + dow) % 7;
1976 // to fill out the last week. This day has a normalized DOW of 0.
2803 fprintf(stderr, "%s:%d: ILLEGAL ARG because DOW in month cannot be 0\n",
3269 // Get the 0-based localized DOW of day one of the month or year.
3278 // Find the first target DOW (dowLocal) in the month or year.
3284 // Adjust the target DOW to be in the month or year.
3335 // nextFirst is now the localized DOW of Jan 1 of y-woy+1
3346 // recalculate 'first' [0-based local dow of jan 1]
3371 first = julianDayToDayOfWeek(julianDay + 1) - firstDayOfWeek; // 0 based local dow of first week
3417 // Get zero-based localized DOW, valid range 0..6. This is the DOW
3444 // First, we need a reliable DOW.
3447 // Now, a local DOW
3463 // Get the 0-based localized DOW of day one of the month or year.
3509 dowLocal; // the local dow (0..6) of last week
3654 // For dowim, the maximum occurs for the DOW of the first of the
3663 // first or last localized DOW. We know the last week of a month
3665 // first week will contain the last DOW.
3667 int32_t dow = fFirstDayOfWeek;
3669 dow = (dow + 6) % 7; // set to last DOW
3670 if (dow < UCAL_SUNDAY) {
3671 dow += 7;
3675 fprintf(stderr, "prepareGetActualHelper(WOM/WOY) - dow=%d\n", dow);
3677 set(UCAL_DAY_OF_WEEK, dow);