/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 | 1396 public ZonedDateTime withDayOfYear(int dayOfYear) { in withDayOfYear() method in ZonedDateTime 1397 return resolveLocal(dateTime.withDayOfYear(dayOfYear)); in withDayOfYear()
|
D | LocalDateTime.java | 1028 public LocalDateTime withDayOfYear(int dayOfYear) { in withDayOfYear() method in LocalDateTime 1029 return with(date.withDayOfYear(dayOfYear), time); in withDayOfYear()
|
D | LocalDate.java | 1051 case DAY_OF_YEAR: return withDayOfYear((int) newValue); in with() 1136 public LocalDate withDayOfYear(int dayOfYear) { in withDayOfYear() method in LocalDate
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestZoneTextPrinterParser.java | 81 zdt = zdt.withDayOfYear(r.nextInt(365) + 1) in test_printText()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestOffsetDateTime.java | 172 … OffsetDateTime t = TEST_2008_6_30_11_30_59_000000500.withDayOfYear(31 + 29 + 31 + 30 + 31 + 30); in test_withDayOfYear_noChange()
|
D | TestLocalDate.java | 147 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 | 1462 ZonedDateTime test = base.withDayOfYear(33); 1463 …assertEquals(test, ZonedDateTime.of(TEST_LOCAL_2008_06_30_11_30_59_500.withDayOfYear(33), ZONE_010… 1470 ZonedDateTime test = base.withDayOfYear(36); 1476 TEST_DATE_TIME.withDayOfYear(367); 1481 TEST_DATE_TIME.withDayOfYear(0); 1486 LocalDateTime.of(2007, 2, 2, 11, 30).atZone(ZONE_PARIS).withDayOfYear(366);
|
D | TCKOffsetDateTime.java | 837 OffsetDateTime t = TEST_2008_6_30_11_30_59_000000500.withDayOfYear(33); 843 TEST_2008_6_30_11_30_59_000000500.withDayOfYear(367); 848 … OffsetDateTime.of(LocalDate.of(2007, 2, 2), LocalTime.of(11, 30), OFFSET_PONE).withDayOfYear(366);
|
D | TCKLocalDate.java | 997 LocalDate t = TEST_2007_07_15.withDayOfYear(33); 1003 TEST_2007_07_15.withDayOfYear(367); 1008 TEST_2007_07_15.withDayOfYear(366);
|
D | TCKLocalDateTime.java | 1249 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.withDayOfYear(33); 1255 TEST_2007_07_15_12_30_40_987654321.withDayOfYear(367); 1260 TEST_2007_07_15_12_30_40_987654321.withDayOfYear(366);
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | IsoFields.java | 635 return (int) getWeekRange(date.withDayOfYear(180).minusYears(1)).getMaximum(); in getWeek()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKIsoFields.java | 500 LocalDate firstDayOfWeekBasedYear = date.plusDays(14).withDayOfYear(1); in test_loop()
|
D | TCKWeekFields.java | 210 LocalDate day1 = day.withDayOfYear(1); in test_weekOfYearField()
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
D | TCKZoneRules.java | 489 odt = odt.withDayOfYear(1).plusYears(1).with(LocalTime.MIDNIGHT); in test_London_previousTransition_rulesBased()
|
/libcore/api/ |
D | current.txt | 11595 method public java.time.LocalDate withDayOfYear(int); 11673 method public java.time.LocalDateTime withDayOfYear(int); 11870 method public java.time.OffsetDateTime withDayOfYear(int); 12165 method public java.time.ZonedDateTime withDayOfYear(int);
|