/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKHijrahChronology.java | 157 int lengthOfYear = HijrahChronology.INSTANCE.dateYearDay(year, 1).lengthOfYear(); in test_ofYearDayTooLarge() local 158 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(year, lengthOfYear + 1); in test_ofYearDayTooLarge() 300 final int lastDayInYear = dateYearDay(year, 1).lengthOfYear(); in data_resolve_ymd() 301 final int lastDayInYearP1 = dateYearDay(yearP1, 1).lengthOfYear(); in data_resolve_ymd() 302 final int lastDayInYearM1 = dateYearDay(yearM1, 1).lengthOfYear(); in data_resolve_ymd() 303 final int lastDayInYearM2 = dateYearDay(yearM2, 1).lengthOfYear(); in data_resolve_ymd() 444 final int lastDayInYear = dateYearDay(year, 1).lengthOfYear(); in data_resolve_yd() 445 final int lastDayInYearP1 = dateYearDay(yearP1, 1).lengthOfYear(); in data_resolve_yd() 446 final int lastDayInYearM1 = dateYearDay(yearM1, 1).lengthOfYear(); in data_resolve_yd() 447 final int lastDayInYearM2 = dateYearDay(yearM2, 1).lengthOfYear(); in data_resolve_yd()
|
D | CopticDate.java | 197 case DAY_OF_YEAR: return ValueRange.of(1, lengthOfYear()); in range()
|
D | TCKJapaneseChronology.java | 665 …assertEquals(range.getMaximum(), hd1.lengthOfYear(), "lengthOfYear should match range.getMaximum()… in test_getDayOfYear() 667 for (int i = 1; i <= hd1.lengthOfYear(); i++) { in test_getDayOfYear() 678 for (int i = 1; i <= hd.lengthOfYear(); i++) { in test_withDayOfYear()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | HijrahDate.java | 336 public int lengthOfYear() { in lengthOfYear() method in HijrahDate 348 case DAY_OF_YEAR: return ValueRange.of(1, lengthOfYear()); in range() 399 … case DAY_OF_YEAR: return plusDays(Math.min(nvalue, lengthOfYear()) - getDayOfYear()); in with()
|
D | JapaneseDate.java | 390 public int lengthOfYear() { in lengthOfYear() method in JapaneseDate 449 case DAY_OF_YEAR: return ValueRange.of(1, lengthOfYear()); in range()
|
D | ChronoLocalDate.java | 359 default int lengthOfYear() { in lengthOfYear() method
|
D | HijrahChronology.java | 485 if (dayOfYear > date.lengthOfYear()) { in dateYearDay()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestUmmAlQuraChronology.java | 252 for (int i = 1; i <= hd1.lengthOfYear(); i++) { in test_getDayOfYear() 262 for (int i = 1; i <= hd.lengthOfYear(); i++) { in test_withDayOfYear() 278 HijrahDate hd2 = hd.with(DAY_OF_YEAR, hd.lengthOfYear() + 1); in test_withDayOfYearTooLarge()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalDate.java | 574 case DAY_OF_YEAR: return ValueRange.of(1, lengthOfYear()); in range() 858 public int lengthOfYear() { in lengthOfYear() method in LocalDate
|
D | YearMonth.java | 595 public int lengthOfYear() { in lengthOfYear() method in YearMonth
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | WeekFields.java | 730 int yearLen = date.lengthOfYear(); in ofWeekBasedYear()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKYearMonth.java | 1126 assertEquals(YearMonth.of(2007, 6).lengthOfYear(), 365); in test_lengthOfYear() 1127 assertEquals(YearMonth.of(2008, 6).lengthOfYear(), 366); in test_lengthOfYear()
|
D | TCKLocalDate.java | 833 assertEquals(LocalDate.of(2007, 1, 1).lengthOfYear(), 365); 834 assertEquals(LocalDate.of(2008, 1, 1).lengthOfYear(), 366);
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKWeekFields.java | 289 last = day.with(DAY_OF_YEAR, day.lengthOfYear()); in test_fieldRanges()
|