Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKWeekFields.java318 int wom = day.get(womField); in test_withDayOfWeek() local
323 assertEquals(result.get(womField), wom, "Week of Month should not change"); in test_withDayOfWeek() local
413 int wom = date.get(womField); in test_parse_resolve_localizedWom_lenient() local
415 for (int j = wom - 10; j < wom + 10; j++) { in test_parse_resolve_localizedWom_lenient()
418 assertEquals(parsed, date.plusWeeks(j - wom), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWom_lenient()
482 int wom = date.get(womField); in test_parse_resolve_localizedWomDow_lenient() local
484 for (int j = wom - 10; j < wom + 10; j++) { in test_parse_resolve_localizedWomDow_lenient()
487 assertEquals(parsed, date.plusWeeks(j - wom), " ::" + str + ": :" + i + "::" + j); in test_parse_resolve_localizedWomDow_lenient()
/libcore/ojluni/src/main/java/java/time/temporal/
DWeekFields.java983 …ralField, Long> fieldValues, Chronology chrono, int year, long month, long wom, int localDow, Reso… in resolveWoM() argument
987 long weeks = Math.subtractExact(wom, localizedWeekOfMonth(date)); in resolveWoM()
993 int womInt = range.checkValidIntValue(wom, this); // validate in resolveWoM()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java805 public void test_alignedWeekOfMonth(int year, int month, int dom, int wom, int dowm) { in test_alignedWeekOfMonth() argument
807 assertEquals(date.getLong(ChronoField.ALIGNED_WEEK_OF_MONTH), wom); in test_alignedWeekOfMonth() local
814 public void test_alignedDayOfWeekInMonth(int year, int month, int dom, int wom, int dowm) { in test_alignedDayOfWeekInMonth() argument