/external/chromium_org/third_party/icu/source/i18n/ |
D | gregocal.cpp | 867 int32_t woy = get(UCAL_WEEK_OF_YEAR, status); in roll() local 873 if (woy >= 52) { in roll() 877 if (woy == 1) { in roll() 881 woy += amount; in roll() 883 if (woy < 1 || woy > 52) { in roll() 896 woy = ((woy + lastWoy - 1) % lastWoy) + 1; in roll() 898 set(UCAL_WEEK_OF_YEAR, woy); in roll() 1224 int32_t GregorianCalendar::handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy) in handleGetExtendedYearFromWeekFields() argument 1231 return Calendar::handleGetExtendedYearFromWeekFields(yearWoy, woy); in handleGetExtendedYearFromWeekFields()
|
D | calendar.cpp | 1378 int32_t woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields() local 1380 ++woy; in computeWeekFields() 1385 if (woy == 0) { in computeWeekFields() 1392 woy = weekNumber(prevDoy, dayOfWeek); in computeWeekFields() 1409 woy = 1; in computeWeekFields() 1414 fFields[UCAL_WEEK_OF_YEAR] = woy; in computeWeekFields() 2786 int32_t woy = internalGet(bestField); in handleComputeJulianDay() local 2795 if(woy==1) { // FIRST WEEK --------------------------------- in handleComputeJulianDay() 2823 } else if(woy>=getLeastMaximum(bestField)) { in handleComputeJulianDay() 2831 testDate += 7 * (woy - 1); in handleComputeJulianDay() [all …]
|
/external/icu4c/i18n/ |
D | gregocal.cpp | 867 int32_t woy = get(UCAL_WEEK_OF_YEAR, status); in roll() local 873 if (woy >= 52) { in roll() 877 if (woy == 1) { in roll() 881 woy += amount; in roll() 883 if (woy < 1 || woy > 52) { in roll() 896 woy = ((woy + lastWoy - 1) % lastWoy) + 1; in roll() 898 set(UCAL_WEEK_OF_YEAR, woy); in roll() 1224 int32_t GregorianCalendar::handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy) in handleGetExtendedYearFromWeekFields() argument 1231 return Calendar::handleGetExtendedYearFromWeekFields(yearWoy, woy); in handleGetExtendedYearFromWeekFields()
|
D | calendar.cpp | 1445 int32_t woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields() local 1447 ++woy; in computeWeekFields() 1452 if (woy == 0) { in computeWeekFields() 1459 woy = weekNumber(prevDoy, dayOfWeek); in computeWeekFields() 1476 woy = 1; in computeWeekFields() 1481 fFields[UCAL_WEEK_OF_YEAR] = woy; in computeWeekFields() 3080 int32_t woy = internalGet(bestField); in handleComputeJulianDay() local 3089 if(woy==1) { // FIRST WEEK --------------------------------- in handleComputeJulianDay() 3117 } else if(woy>=getLeastMaximum(bestField)) { in handleComputeJulianDay() 3125 testDate += 7 * (woy - 1); in handleComputeJulianDay() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | caltest.cpp | 1420 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in yearAddTest() local 1457 if (ywy2 != (ywy+1) || woy2 != woy || dow2 != dow) { in yearAddTest() 1459 (ywy+1) + ", woy " + woy + ", dowLocal " + dow; in yearAddTest() 1680 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestWOY() local 1690 if (woy >= 52) --yearWoy; in TestWOY() 1692 if (woy == 1) ++yearWoy; in TestWOY() 1700 cal.set(UCAL_WEEK_OF_YEAR, woy); in TestWOY() 1706 if (t_y != year || t_woy != woy || t_dow != dow) { in TestWOY() 1712 t_y, year, t_woy, woy, t_dow, dow); in TestWOY() 1722 cal.set(UCAL_WEEK_OF_YEAR, woy); in TestWOY() [all …]
|
D | calregts.cpp | 995 int32_t woy = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271() local 998 UnicodeString(" ") + woy); in test4103271() 999 if (woy != DATA[j + 1 + i]) { in test4103271() 1069 int32_t woy = DISAM_int[i+2]; in test4103271() local 1074 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271() 1079 log(UnicodeString("Y") + y + "-W" + woy + in test4103271() 1093 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271() 1098 log(UnicodeString("YWOY") + ywoy + "-W" + woy + in test4103271() 2054 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestJ81() local 2061 if (woy != DOY_DATA[i+1] || doy != DOY_DATA[i+2] || dow != DOY_DATA[i+3]) { in TestJ81()
|
/external/icu4c/test/intltest/ |
D | caltest.cpp | 1508 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in yearAddTest() local 1545 if (ywy2 != (ywy+1) || woy2 != woy || dow2 != dow) { in yearAddTest() 1547 (ywy+1) + ", woy " + woy + ", dowLocal " + dow; in yearAddTest() 1768 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestWOY() local 1778 if (woy >= 52) --yearWoy; in TestWOY() 1780 if (woy == 1) ++yearWoy; in TestWOY() 1788 cal.set(UCAL_WEEK_OF_YEAR, woy); in TestWOY() 1794 if (t_y != year || t_woy != woy || t_dow != dow) { in TestWOY() 1800 t_y, year, t_woy, woy, t_dow, dow); in TestWOY() 1810 cal.set(UCAL_WEEK_OF_YEAR, woy); in TestWOY() [all …]
|
D | calregts.cpp | 1040 int32_t woy = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271() local 1043 UnicodeString(" ") + woy); in test4103271() 1044 if (woy != DATA[j + 1 + i]) { in test4103271() 1114 int32_t woy = DISAM_int[i+2]; in test4103271() local 1119 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271() 1124 log(UnicodeString("Y") + y + "-W" + woy + in test4103271() 1138 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271() 1143 log(UnicodeString("YWOY") + ywoy + "-W" + woy + in test4103271() 2107 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestJ81() local 2114 if (woy != DOY_DATA[i+1] || doy != DOY_DATA[i+2] || dow != DOY_DATA[i+3]) { in TestJ81()
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
D | gregocal.h | 630 virtual int32_t handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy);
|
D | calendar.h | 1522 virtual int32_t handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy);
|
/external/icu4c/i18n/unicode/ |
D | gregocal.h | 632 virtual int32_t handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy);
|
D | calendar.h | 1713 virtual int32_t handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy);
|