Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKWeekFields.java319 int woy = day.get(woyField); in test_withDayOfWeek() local
324 assertEquals(result.get(woyField), woy, "Week of Year should not change"); in test_withDayOfWeek() local
526 int woy = date.get(woyField); in test_parse_resolve_localizedWoy_lenient() local
528 for (int j = woy - 60; j < woy + 60; j++) { in test_parse_resolve_localizedWoy_lenient()
531 assertEquals(parsed, date.plusWeeks(j - woy), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoy_lenient()
592 int woy = date.get(woyField); in test_parse_resolve_localizedWoyDow_lenient() local
594 for (int j = woy - 60; j < woy + 60; j++) { in test_parse_resolve_localizedWoyDow_lenient()
597 assertEquals(parsed, date.plusWeeks(j - woy), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoyDow_lenient()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java1280 int woy = internalGet(WEEK_OF_YEAR); in roll() local
1281 int value = woy + amount; in roll()
1294 long day1 = fd - (7 * (woy - min)); in roll()
1311 woy = max; in roll()
1314 amount -= woy - max; in roll()
1316 woy = min; in roll()
1319 set(field, getRolledValue(woy, amount, min, max)); in roll()
1333 long day1 = fd - (7 * (woy - min)); in roll()
1340 fd += 7 * (max - woy); in roll()
1347 value = getRolledValue(woy, amount, min, max) - 1; in roll()
DJapaneseImperialCalendar.java759 int woy = internalGet(WEEK_OF_YEAR); in roll() local
760 int value = woy + amount; in roll()
782 long day1 = fd - (7 * (woy - min)); in roll()
804 long day1 = fd - (7 * (woy - min)); in roll()
812 fd += 7 * (max - woy); in roll()
819 value = getRolledValue(woy, amount, min, max) - 1; in roll()
1239 int woy = getWeekNumber(jan1, fd);
1240 long day1 = fd - (7 * (woy - 1));
/libcore/ojluni/src/main/java/java/time/temporal/
DWeekFields.java1009 …Map<TemporalField, Long> fieldValues, Chronology chrono, int year, long woy, int localDow, Resolve… in resolveWoY() argument
1012 long weeks = Math.subtractExact(woy, localizedWeekOfYear(date)); in resolveWoY()
1016 int womInt = range.checkValidIntValue(woy, this); // validate in resolveWoY()