/libcore/ojluni/src/main/java/java/time/ |
D | OffsetDateTime.java | 1038 public OffsetDateTime withDayOfYear(int dayOfYear) { in withDayOfYear() method in OffsetDateTime 1039 return with(dateTime.withDayOfYear(dayOfYear), offset); in withDayOfYear()
|
D | ZonedDateTime.java | 1397 public ZonedDateTime withDayOfYear(int dayOfYear) { in withDayOfYear() method in ZonedDateTime 1398 return resolveLocal(dateTime.withDayOfYear(dayOfYear)); in withDayOfYear()
|
D | LocalDateTime.java | 1032 public LocalDateTime withDayOfYear(int dayOfYear) { in withDayOfYear() method in LocalDateTime 1033 return with(date.withDayOfYear(dayOfYear), time); in withDayOfYear()
|
D | LocalDate.java | 1023 case DAY_OF_YEAR: return withDayOfYear((int) newValue); in with() 1108 public LocalDate withDayOfYear(int dayOfYear) { in withDayOfYear() method in LocalDate
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestZoneTextPrinterParser.java | 78 zdt = zdt.withDayOfYear(r.nextInt(365) + 1) in test_printText()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestOffsetDateTime.java | 168 … OffsetDateTime t = TEST_2008_6_30_11_30_59_000000500.withDayOfYear(31 + 29 + 31 + 30 + 31 + 30); in test_withDayOfYear_noChange()
|
D | TestLocalDate.java | 146 LocalDate t = TEST_2007_07_15.withDayOfYear(31 + 28 + 31 + 30 + 31 + 30 + 15); in test_withDayOfYear_noChange_same()
|
D | TestLocalDateTime.java | 146 …LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.withDayOfYear(31 + 28 + 31 + 30 + 31 + 30 + 1… in test_withDayOfYear_noChange()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 249 public java.time.OffsetDateTime withDayOfYear(int dayOfYear) { in withDayOfYear() method in OffsetDateTime
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKZonedDateTime.java | 1467 ZonedDateTime test = base.withDayOfYear(33); 1468 …assertEquals(test, ZonedDateTime.of(TEST_LOCAL_2008_06_30_11_30_59_500.withDayOfYear(33), ZONE_010… 1475 ZonedDateTime test = base.withDayOfYear(36); 1481 TEST_DATE_TIME.withDayOfYear(367); 1486 TEST_DATE_TIME.withDayOfYear(0); 1491 LocalDateTime.of(2007, 2, 2, 11, 30).atZone(ZONE_PARIS).withDayOfYear(366);
|
D | TCKOffsetDateTime.java | 852 OffsetDateTime t = TEST_2008_6_30_11_30_59_000000500.withDayOfYear(33); 858 TEST_2008_6_30_11_30_59_000000500.withDayOfYear(367); 863 … OffsetDateTime.of(LocalDate.of(2007, 2, 2), LocalTime.of(11, 30), OFFSET_PONE).withDayOfYear(366);
|
D | TCKLocalDate.java | 952 LocalDate t = TEST_2007_07_15.withDayOfYear(33); 958 TEST_2007_07_15.withDayOfYear(367); 963 TEST_2007_07_15.withDayOfYear(366);
|
D | TCKLocalDateTime.java | 1255 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.withDayOfYear(33); 1261 TEST_2007_07_15_12_30_40_987654321.withDayOfYear(367); 1266 TEST_2007_07_15_12_30_40_987654321.withDayOfYear(366);
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | IsoFields.java | 610 return (int) getWeekRange(date.withDayOfYear(180).minusYears(1)).getMaximum(); in getWeek()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKIsoFields.java | 458 LocalDate firstDayOfWeekBasedYear = date.plusDays(14).withDayOfYear(1); in test_loop()
|
D | TCKWeekFields.java | 208 LocalDate day1 = day.withDayOfYear(1); in test_weekOfYearField()
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneRules.java | 471 odt = odt.withDayOfYear(1).plusYears(1).with(LocalTime.MIDNIGHT); in test_London_previousTransition_rulesBased()
|
/libcore/api/ |
D | current.txt | 10756 method public java.time.LocalDate withDayOfYear(int); 10820 method public java.time.LocalDateTime withDayOfYear(int); 11008 method public java.time.OffsetDateTime withDayOfYear(int); 11275 method public java.time.ZonedDateTime withDayOfYear(int);
|