Searched refs:WEEK_BASED_YEARS (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | IsoFields.java | 268 public static final TemporalUnit WEEK_BASED_YEARS = Unit.WEEK_BASED_YEARS; field in IsoFields 435 return WEEK_BASED_YEARS; in getRangeUnit() 512 return WEEK_BASED_YEARS; in getBaseUnit() 649 WEEK_BASED_YEARS("WeekBasedYears", Duration.ofSeconds(31556952L)), enumConstant 692 case WEEK_BASED_YEARS: in addTo() 710 case WEEK_BASED_YEARS: in between()
|
D | WeekFields.java | 232 public static final TemporalUnit WEEK_BASED_YEARS = IsoFields.WEEK_BASED_YEARS; field in WeekFields 703 …ComputedDayOfField("WeekOfWeekBasedYear", weekDef, WEEKS, IsoFields.WEEK_BASED_YEARS, WEEK_OF_WEEK… in ofWeekOfWeekBasedYearField() 712 …return new ComputedDayOfField("WeekBasedYear", weekDef, IsoFields.WEEK_BASED_YEARS, FOREVER, Chron… in ofWeekBasedYearField() 766 } else if (rangeUnit == WEEK_BASED_YEARS) { in getFrom() 949 } else if ((rangeUnit == WEEK_BASED_YEARS || rangeUnit == FOREVER) && in resolve() 1080 } else if (rangeUnit == WEEK_BASED_YEARS) { in isSupportedBy() 1097 } else if (rangeUnit == WEEK_BASED_YEARS) { in rangeRefinedBy()
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestIsoWeekFields.java | 67 assertEquals(weekField.getRangeUnit(), IsoFields.WEEK_BASED_YEARS); in test_WOWBY_basics() 107 assertEquals(yearField.getBaseUnit(), IsoFields.WEEK_BASED_YEARS); in test_WBY_basics() 257 LocalDate adjusted = IsoFields.WEEK_BASED_YEARS.addTo(date, j); in test_addTo_weekBasedYears()
|