Home
last modified time | relevance | path

Searched defs:wby (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestIsoWeekFields.java139 int wby = 2011; in test_getFrom() local
143 assertEquals(yearField.getFrom(date), wby); in test_getFrom() local
167 int wby = 2012; in test_adjustInto_dow() local
175 assertEquals(adjusted.get(yearField), wby); in test_adjustInto_dow() local
195 int wby = 2012; in test_adjustInto_week() local
204 assertEquals(adjusted.get(yearField), wby); in test_adjustInto_week() local
224 int wby = 2012; in test_adjustInto_wby() local
252 int wby = 2012; in test_addTo_weekBasedYears() local
276 private int wbyLen(int wby) { in wbyLen()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java321 public void test_WOWBY(LocalDate date, DayOfWeek dow, int week, int wby) { in test_WOWBY()
336 public void test_WBY(LocalDate date, DayOfWeek dow, int week, int wby) { in test_WBY()
338 assertEquals(IsoFields.WEEK_BASED_YEAR.getFrom(date), wby); in test_WBY() local
339 assertEquals(date.get(IsoFields.WEEK_BASED_YEAR), wby); in test_WBY() local
351 public void test_parse_weeks_STRICT(LocalDate date, DayOfWeek dow, int week, int wby) { in test_parse_weeks_STRICT()
362 public void test_parse_weeks_SMART(LocalDate date, DayOfWeek dow, int week, int wby) { in test_parse_weeks_SMART()
373 public void test_parse_weeks_LENIENT(LocalDate date, DayOfWeek dow, int week, int wby) { in test_parse_weeks_LENIENT()
446 int wby = 1960; in test_loop() local
467 …assertEquals(IsoFields.WEEK_BASED_YEAR.getFrom(date), wby, "Failed on " + date + " " + date.getDay… in test_loop() local
468 …assertEquals(date.get(IsoFields.WEEK_BASED_YEAR), wby, "Failed on " + date + " " + date.getDayOfWe… in test_loop() local
DTCKWeekFields.java782 public void test_WOWBY(LocalDate date, DayOfWeek dow, int week, int wby) { in test_WOWBY()
790 assertEquals(date.get(yowbyField), wby); in test_WOWBY() local
/libcore/ojluni/src/main/java/java/time/temporal/
DIsoFields.java474 …int wby = WEEK_BASED_YEAR.range().checkValidIntValue(wbyLong, WEEK_BASED_YEAR); // always validate in resolve() local
586 int wby = getWeekBasedYear(date); in getWeekRange() local
590 private static int getWeekRange(int wby) { in getWeekRange()