HomeSort by relevance Sort by last modified time
    Searched refs:wby (Results 1 - 4 of 4) sorted by null

  /libcore/ojluni/src/test/java/time/test/java/time/temporal/
TestIsoWeekFields.java 139 int wby = 2011; local
143 assertEquals(yearField.getFrom(date), wby); local
152 if (week > wbyLen(wby)) {
154 wby++;
167 int wby = 2012; local
175 assertEquals(adjusted.get(yearField), wby); local
183 if (week > wbyLen(wby)) {
185 wby++;
195 int wby = 2012; local
199 int weeksInYear = (wby == 2015 ? 53 : 52)
204 assertEquals(adjusted.get(yearField), wby); local
224 int wby = 2012; local
252 int wby = 2012; local
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/temporal/
TCKIsoFields.java 321 public void test_WOWBY(LocalDate date, DayOfWeek dow, int week, int wby) {
336 public void test_WBY(LocalDate date, DayOfWeek dow, int week, int wby) {
338 assertEquals(IsoFields.WEEK_BASED_YEAR.getFrom(date), wby); local
339 assertEquals(date.get(IsoFields.WEEK_BASED_YEAR), wby); local
351 public void test_parse_weeks_STRICT(LocalDate date, DayOfWeek dow, int week, int wby) {
357 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f);
362 public void test_parse_weeks_SMART(LocalDate date, DayOfWeek dow, int week, int wby) {
368 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f);
373 public void test_parse_weeks_LENIENT(LocalDate date, DayOfWeek dow, int week, int wby) {
379 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f)
446 int wby = 1960; local
467 assertEquals(IsoFields.WEEK_BASED_YEAR.getFrom(date), wby, "Failed on " + date + " " + date.getDayOfWeek()); local
468 assertEquals(date.get(IsoFields.WEEK_BASED_YEAR), wby, "Failed on " + date + " " + date.getDayOfWeek()); local
    [all...]
TCKWeekFields.java 790 assertEquals(date.get(yowbyField), wby); local
    [all...]
  /libcore/ojluni/src/main/java/java/time/temporal/
IsoFields.java 474 int wby = WEEK_BASED_YEAR.range().checkValidIntValue(wbyLong, WEEK_BASED_YEAR); // always validate local
477 LocalDate date = LocalDate.of(wby, 1, 4);
586 int wby = getWeekBasedYear(date); local
587 return ValueRange.of(1, getWeekRange(wby));
590 private static int getWeekRange(int wby) {
591 LocalDate date = LocalDate.of(wby, 1, 1);

Completed in 867 milliseconds