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.java317 int woy = day.get(woyField); in test_withDayOfWeek() local
322 assertEquals(result.get(woyField), woy, "Week of Year should not change"); in test_withDayOfWeek() local
524 int woy = date.get(woyField); in test_parse_resolve_localizedWoy_lenient() local
526 for (int j = woy - 60; j < woy + 60; j++) { in test_parse_resolve_localizedWoy_lenient()
529 assertEquals(parsed, date.plusWeeks(j - woy), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoy_lenient()
590 int woy = date.get(woyField); in test_parse_resolve_localizedWoyDow_lenient() local
592 for (int j = woy - 60; j < woy + 60; j++) { in test_parse_resolve_localizedWoyDow_lenient()
595 assertEquals(parsed, date.plusWeeks(j - woy), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWoyDow_lenient()
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java1283 int woy = internalGet(WEEK_OF_YEAR); in roll() local
1284 int value = woy + amount; in roll()
1297 long day1 = fd - (7 * (woy - min)); in roll()
1314 woy = max; in roll()
1317 amount -= woy - max; in roll()
1319 woy = min; in roll()
1322 set(field, getRolledValue(woy, amount, min, max)); in roll()
1336 long day1 = fd - (7 * (woy - min)); in roll()
1343 fd += 7 * (max - woy); in roll()
1350 value = getRolledValue(woy, amount, min, max) - 1; in roll()
DJapaneseImperialCalendar.java755 int woy = internalGet(WEEK_OF_YEAR); in roll() local
756 int value = woy + amount; in roll()
778 long day1 = fd - (7 * (woy - min)); in roll()
800 long day1 = fd - (7 * (woy - min)); in roll()
808 fd += 7 * (max - woy); in roll()
815 value = getRolledValue(woy, amount, min, max) - 1; in roll()
1243 int woy = getWeekNumber(jan1, fd); in getActualMinimum() local
1244 long day1 = fd - (7 * (woy - 1)); in getActualMinimum()
/libcore/ojluni/src/main/java/java/time/temporal/
DWeekFields.java983 …Map<TemporalField, Long> fieldValues, Chronology chrono, int year, long woy, int localDow, Resolve… in resolveWoY() argument
986 long weeks = Math.subtractExact(woy, localizedWeekOfYear(date)); in resolveWoY()
990 int womInt = range.checkValidIntValue(woy, this); // validate in resolveWoY()