Home
last modified time | relevance | path

Searched refs:wom (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKWeekFields.java316 int wom = day.get(womField); in test_withDayOfWeek() local
321 assertEquals(result.get(womField), wom, "Week of Month should not change"); in test_withDayOfWeek() local
411 int wom = date.get(womField); in test_parse_resolve_localizedWom_lenient() local
413 for (int j = wom - 10; j < wom + 10; j++) { in test_parse_resolve_localizedWom_lenient()
416 assertEquals(parsed, date.plusWeeks(j - wom), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWom_lenient()
480 int wom = date.get(womField); in test_parse_resolve_localizedWomDow_lenient() local
482 for (int j = wom - 10; j < wom + 10; j++) { in test_parse_resolve_localizedWomDow_lenient()
485 assertEquals(parsed, date.plusWeeks(j - wom), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWomDow_lenient()
/libcore/ojluni/src/main/java/java/time/temporal/
DWeekFields.java958 …ralField, Long> fieldValues, Chronology chrono, int year, long month, long wom, int localDow, Reso… in resolveWoM() argument
962 long weeks = Math.subtractExact(wom, localizedWeekOfMonth(date)); in resolveWoM()
968 int womInt = range.checkValidIntValue(wom, this); // validate in resolveWoM()