Searched refs:wby (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestIsoWeekFields.java | 149 int wby = 2011; in test_getFrom() local 153 assertEquals(yearField.getFrom(date), wby); in test_getFrom() local 162 if (week > wbyLen(wby)) { in test_getFrom() 164 wby++; in test_getFrom() 177 int wby = 2012; in test_adjustInto_dow() local 185 assertEquals(adjusted.get(yearField), wby); in test_adjustInto_dow() local 193 if (week > wbyLen(wby)) { in test_adjustInto_dow() 195 wby++; in test_adjustInto_dow() 205 int wby = 2012; in test_adjustInto_week() local 209 int weeksInYear = (wby == 2015 ? 53 : 52); in test_adjustInto_week() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKIsoFields.java | 324 public void test_WOWBY(LocalDate date, DayOfWeek dow, int week, int wby) { in test_WOWBY() argument 339 public void test_WBY(LocalDate date, DayOfWeek dow, int week, int wby) { in test_WBY() argument 341 assertEquals(IsoFields.WEEK_BASED_YEAR.getFrom(date), wby); in test_WBY() local 342 assertEquals(date.get(IsoFields.WEEK_BASED_YEAR), wby); in test_WBY() local 354 public void test_parse_weeks_STRICT(LocalDate date, DayOfWeek dow, int week, int wby) { in test_parse_weeks_STRICT() argument 360 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f); in test_parse_weeks_STRICT() 365 public void test_parse_weeks_SMART(LocalDate date, DayOfWeek dow, int week, int wby) { in test_parse_weeks_SMART() argument 371 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f); in test_parse_weeks_SMART() 376 public void test_parse_weeks_LENIENT(LocalDate date, DayOfWeek dow, int week, int wby) { in test_parse_weeks_LENIENT() argument 382 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f); in test_parse_weeks_LENIENT() [all …]
|
D | TCKWeekFields.java | 785 public void test_WOWBY(LocalDate date, DayOfWeek dow, int week, int wby) { in test_WOWBY() argument 793 assertEquals(date.get(yowbyField), wby); in test_WOWBY() local
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | IsoFields.java | 496 …int wby = WEEK_BASED_YEAR.range().checkValidIntValue(wbyLong, WEEK_BASED_YEAR); // always validate in resolve() local 499 LocalDate date = LocalDate.of(wby, 1, 4); in resolve() 611 int wby = getWeekBasedYear(date); in getWeekRange() local 612 return ValueRange.of(1, getWeekRange(wby)); in getWeekRange() 615 private static int getWeekRange(int wby) { in getWeekRange() argument 616 LocalDate date = LocalDate.of(wby, 1, 1); in getWeekRange()
|