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.java568 int woy = get(WEEK_OF_YEAR); in roll() local
574 if (woy >= 52) { in roll()
578 if (woy == 1) { in roll()
582 woy += amount; in roll()
584 if (woy < 1 || woy > 52) { in roll()
597 woy = ((woy + lastWoy - 1) % lastWoy) + 1; in roll()
599 set(WEEK_OF_YEAR, woy); in roll()
DCalendar.java5099 int woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields() local
5101 ++woy; in computeWeekFields()
5106 if (woy == 0) { in computeWeekFields()
5113 woy = weekNumber(prevDoy, dayOfWeek); in computeWeekFields()
5130 woy = 1; in computeWeekFields()
5135 fields[WEEK_OF_YEAR] = woy; in computeWeekFields()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGregorianCalendar.java548 int woy = get(WEEK_OF_YEAR); in roll() local
554 if (woy >= 52) { in roll()
558 if (woy == 1) { in roll()
562 woy += amount; in roll()
564 if (woy < 1 || woy > 52) { in roll()
577 woy = ((woy + lastWoy - 1) % lastWoy) + 1; in roll()
579 set(WEEK_OF_YEAR, woy); in roll()
DCalendar.java4935 int woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields() local
4937 ++woy; in computeWeekFields()
4942 if (woy == 0) { in computeWeekFields()
4949 woy = weekNumber(prevDoy, dayOfWeek); in computeWeekFields()
4966 woy = 1; in computeWeekFields()
4971 fields[WEEK_OF_YEAR] = woy; in computeWeekFields()
/external/icu/icu4c/source/i18n/
Dgregocal.cpp867 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()
Dcalendar.cpp1639 int32_t woy = (dayOfYear - 1 + relDowJan1) / 7; // 0..53 in computeWeekFields() local
1641 ++woy; in computeWeekFields()
1646 if (woy == 0) { in computeWeekFields()
1653 woy = weekNumber(prevDoy, dayOfWeek); in computeWeekFields()
1670 woy = 1; in computeWeekFields()
1675 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.cpp1559 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in yearAddTest() local
1596 if (ywy2 != (ywy+1) || woy2 != woy || dow2 != dow) { in yearAddTest()
1598 (ywy+1) + ", woy " + woy + ", dowLocal " + dow; in yearAddTest()
1819 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestWOY() local
1829 if (woy >= 52) --yearWoy; in TestWOY()
1831 if (woy == 1) ++yearWoy; in TestWOY()
1839 cal.set(UCAL_WEEK_OF_YEAR, woy); in TestWOY()
1845 if (t_y != year || t_woy != woy || t_dow != dow) { in TestWOY()
1851 t_y, year, t_woy, woy, t_dow, dow); in TestWOY()
1861 cal.set(UCAL_WEEK_OF_YEAR, woy); in TestWOY()
[all …]
Dcalregts.cpp1041 int32_t woy = testCal->get(UCAL_WEEK_OF_YEAR,status); in test4103271() local
1044 UnicodeString(" ") + woy); in test4103271()
1045 if (woy != DATA[j + 1 + i]) { in test4103271()
1115 int32_t woy = DISAM_int[i+2]; in test4103271() local
1120 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271()
1125 log(UnicodeString("Y") + y + "-W" + woy + in test4103271()
1139 testCal->set(UCAL_WEEK_OF_YEAR, woy); in test4103271()
1144 log(UnicodeString("YWOY") + ywoy + "-W" + woy + in test4103271()
2108 int32_t woy = cal.get(UCAL_WEEK_OF_YEAR, status); in TestJ81() local
2115 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.h632 virtual int32_t handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy);
Dcalendar.h1714 virtual int32_t handleGetExtendedYearFromWeekFields(int32_t yearWoy, int32_t woy);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegression.java630 int woy = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271() local
631 log(testCal.getTime() + " " + woy); in Test4103271()
632 if (woy != DATA[j + 1 + i]) { in Test4103271()
682 int woy = ((Integer)DISAM[i+1]).intValue(); in Test4103271() local
687 testCal.set(Calendar.WEEK_OF_YEAR, woy); in Test4103271()
689 log(y + "-W" + woy + in Test4103271()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegression.java626 int woy = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271() local
627 log(testCal.getTime() + " " + woy); in Test4103271()
628 if (woy != DATA[j + 1 + i]) { in Test4103271()
678 int woy = ((Integer)DISAM[i+1]).intValue(); in Test4103271() local
683 testCal.set(Calendar.WEEK_OF_YEAR, woy); in Test4103271()
685 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.txt6614 "woy",