Home | History | Annotate | Download | only in i18n

Lines Matching refs:dow

1314     int32_t dow = julianDayToDayOfWeek(julianDay);
1315 internalSet(UCAL_DAY_OF_WEEK,dow);
1318 int32_t dowLocal = dow - getFirstDayOfWeek() + 1;
1401 // dow: 1 2 3 4 5 6 7
1592 // in this locale. We have dow in 0..6.
1593 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek();
1594 if (dow < 0) dow += 7;
1598 int32_t fdm = (dow - internalGet(UCAL_DAY_OF_MONTH) + 1) % 7;
1614 int32_t ldm = (monthLen - internalGet(UCAL_DAY_OF_MONTH) + dow) % 7;
1620 // to fill out the last week. This day has a normalized DOW of 0.
1650 // in this locale. We have dow in 0..6.
1651 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek();
1652 if (dow < 0) dow += 7;
1656 int32_t fdy = (dow - internalGet(UCAL_DAY_OF_YEAR) + 1) % 7;
1672 int32_t ldy = (yearLen - internalGet(UCAL_DAY_OF_YEAR) + dow) % 7;
1678 // to fill out the last week. This day has a normalized DOW of 0.
2399 fprintf(stderr, "%s:%d: ILLEGAL ARG because DOW in month cannot be 0\n",
2738 // Get the 0-based localized DOW of day one of the month or year.
2747 // Find the first target DOW (dowLocal) in the month or year.
2753 // Adjust the target DOW to be in the month or year.
2804 // nextFirst is now the localized DOW of Jan 1 of y-woy+1
2815 // recalculate 'first' [0-based local dow of jan 1]
2840 first = julianDayToDayOfWeek(julianDay + 1) - firstDayOfWeek; // 0 based local dow of first week
2886 // Get zero-based localized DOW, valid range 0..6. This is the DOW
2913 // First, we need a reliable DOW.
2916 // Now, a local DOW
2932 // Get the 0-based localized DOW of day one of the month or year.
2976 dowLocal; // the local dow (0..6) of last week
3128 // For dowim, the maximum occurs for the DOW of the first of the
3137 // first or last localized DOW. We know the last week of a month
3139 // first week will contain the last DOW.
3141 int32_t dow = fFirstDayOfWeek;
3143 dow = (dow + 6) % 7; // set to last DOW
3144 if (dow < UCAL_SUNDAY) {
3145 dow += 7;
3149 fprintf(stderr, "prepareGetActualHelper(WOM/WOY) - dow=%d\n", dow);
3151 set(UCAL_DAY_OF_WEEK, dow);