Searched refs:wby (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestIsoWeekFields.java | 139 int wby = 2011; in test_getFrom() local 143 assertEquals(yearField.getFrom(date), wby); in test_getFrom() local 152 if (week > wbyLen(wby)) { in test_getFrom() 154 wby++; in test_getFrom() 167 int wby = 2012; in test_adjustInto_dow() local 175 assertEquals(adjusted.get(yearField), wby); in test_adjustInto_dow() local 183 if (week > wbyLen(wby)) { in test_adjustInto_dow() 185 wby++; in test_adjustInto_dow() 195 int wby = 2012; in test_adjustInto_week() local 199 int weeksInYear = (wby == 2015 ? 53 : 52); in test_adjustInto_week() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKIsoFields.java | 321 public void test_WOWBY(LocalDate date, DayOfWeek dow, int week, int wby) { in test_WOWBY() argument 336 public void test_WBY(LocalDate date, DayOfWeek dow, int week, int wby) { in test_WBY() argument 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() argument 357 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f); 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() argument 368 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f); 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() argument 379 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f); in test_parse_weeks_LENIENT() [all …]
|
D | TCKWeekFields.java | 782 public void test_WOWBY(LocalDate date, DayOfWeek dow, int week, int wby) { in test_WOWBY() argument 790 assertEquals(date.get(yowbyField), wby); in test_WOWBY() local
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | IsoFields.java | 474 …int wby = WEEK_BASED_YEAR.range().checkValidIntValue(wbyLong, WEEK_BASED_YEAR); // always validate in resolve() local 477 LocalDate date = LocalDate.of(wby, 1, 4); in resolve() 586 int wby = getWeekBasedYear(date); in getWeekRange() local 587 return ValueRange.of(1, getWeekRange(wby)); in getWeekRange() 590 private static int getWeekRange(int wby) { in getWeekRange() argument 591 LocalDate date = LocalDate.of(wby, 1, 1); in getWeekRange()
|