Home
last modified time | relevance | path

Searched refs:woy (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DGregorianCalendar.java570 int woy = get(WEEK_OF_YEAR); in roll() local
576 if (woy >= 52) { in roll()
580 if (woy == 1) { in roll()
584 woy += amount; in roll()
586 if (woy < 1 || woy > 52) { in roll()
599 woy = ((woy + lastWoy - 1) % lastWoy) + 1; in roll()
601 set(WEEK_OF_YEAR, woy); in roll()
DCalendar.java5181 int woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields() local
5183 ++woy; in computeWeekFields()
5188 if (woy == 0) { in computeWeekFields()
5195 woy = weekNumber(prevDoy, dayOfWeek); in computeWeekFields()
5212 woy = 1; in computeWeekFields()
5217 fields[WEEK_OF_YEAR] = woy; in computeWeekFields()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGregorianCalendar.java550 int woy = get(WEEK_OF_YEAR); in roll() local
556 if (woy >= 52) { in roll()
560 if (woy == 1) { in roll()
564 woy += amount; in roll()
566 if (woy < 1 || woy > 52) { in roll()
579 woy = ((woy + lastWoy - 1) % lastWoy) + 1; in roll()
581 set(WEEK_OF_YEAR, woy); in roll()
DCalendar.java5019 int woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields() local
5021 ++woy; in computeWeekFields()
5026 if (woy == 0) { in computeWeekFields()
5033 woy = weekNumber(prevDoy, dayOfWeek); in computeWeekFields()
5050 woy = 1; in computeWeekFields()
5055 fields[WEEK_OF_YEAR] = woy; in computeWeekFields()
/external/icu/icu4c/source/i18n/
Dgregocal.cpp870 int32_t woy = get(UCAL_WEEK_OF_YEAR, status); in roll() local
876 if (woy >= 52) { in roll()
880 if (woy == 1) { in roll()
884 woy += amount; in roll()
886 if (woy < 1 || woy > 52) { in roll()
899 woy = ((woy + lastWoy - 1) % lastWoy) + 1; in roll()
901 set(UCAL_WEEK_OF_YEAR, woy); in roll()
1227 int32_t GregorianCalendar::handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy) in handleGetExtendedYearFromWeekFields() argument
1234 return Calendar::handleGetExtendedYearFromWeekFields(yearWoy, woy); in handleGetExtendedYearFromWeekFields()
Dcalendar.cpp1637 int32_t woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields() local
1639 ++woy; in computeWeekFields()
1644 if (woy == 0) { in computeWeekFields()
1651 woy = weekNumber(prevDoy, dayOfWeek); in computeWeekFields()
1668 woy = 1; in computeWeekFields()
1673 fFields[UCAL_WEEK_OF_YEAR] = woy; in computeWeekFields()
3317 int32_t woy = internalGet(bestField); in handleComputeJulianDay() local
3326 if(woy==1) { // FIRST WEEK --------------------------------- in handleComputeJulianDay()
3354 } else if(woy>=getLeastMaximum(bestField)) { in handleComputeJulianDay()
3362 testDate += 7 * (woy - 1); in handleComputeJulianDay()
[all …]
/external/icu/icu4c/source/test/intltest/
Dcaltest.cpp1568 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in yearAddTest() local
1605 if (ywy2 != (ywy+1) || woy2 != woy || dow2 != dow) { in yearAddTest()
1607 (ywy+1) + ", woy " + woy + ", dowLocal " + dow; in yearAddTest()
1828 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestWOY() local
1838 if (woy >= 52) --yearWoy; in TestWOY()
1840 if (woy == 1) ++yearWoy; in TestWOY()
1848 cal.set(UCAL_WEEK_OF_YEAR, woy); in TestWOY()
1854 if (t_y != year || t_woy != woy || t_dow != dow) { in TestWOY()
1860 t_y, year, t_woy, woy, t_dow, dow); in TestWOY()
1870 cal.set(UCAL_WEEK_OF_YEAR, woy); in TestWOY()
[all …]
Dcalregts.cpp1043 int32_t woy = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271() local
1046 UnicodeString(" ") + woy); in test4103271()
1047 if (woy != DATA[j + 1 + i]) { in test4103271()
1117 int32_t woy = DISAM_int[i+2]; in test4103271() local
1122 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271()
1127 log(UnicodeString("Y") + y + "-W" + woy + in test4103271()
1141 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271()
1146 log(UnicodeString("YWOY") + ywoy + "-W" + woy + in test4103271()
2110 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestJ81() local
2117 if (woy != DOY_DATA[i+1] || doy != DOY_DATA[i+2] || dow != DOY_DATA[i+3]) { in TestJ81()
/external/icu/icu4c/source/i18n/unicode/
Dgregocal.h634 virtual int32_t handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy);
Dcalendar.h1716 virtual int32_t handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java644 int woy = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271() local
645 log(testCal.getTime() + " " + woy); in Test4103271()
646 if (woy != DATA[j + 1 + i]) { in Test4103271()
696 int woy = ((Integer)DISAM[i+1]).intValue(); in Test4103271() local
701 testCal.set(Calendar.WEEK_OF_YEAR, woy); in Test4103271()
703 log(y + "-W" + woy + in Test4103271()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegressionTest.java645 int woy = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271() local
646 log(testCal.getTime() + " " + woy); in Test4103271()
647 if (woy != DATA[j + 1 + i]) { in Test4103271()
697 int woy = ((Integer)DISAM[i+1]).intValue(); in Test4103271() local
702 testCal.set(Calendar.WEEK_OF_YEAR, woy); in Test4103271()
704 log(y + "-W" + woy + in Test4103271()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt6617 "woy",