Home
last modified time | relevance | path

Searched refs:withDayOfYear (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DOffsetDateTime.java1038 public OffsetDateTime withDayOfYear(int dayOfYear) { in withDayOfYear() method in OffsetDateTime
1039 return with(dateTime.withDayOfYear(dayOfYear), offset); in withDayOfYear()
DZonedDateTime.java1397 public ZonedDateTime withDayOfYear(int dayOfYear) { in withDayOfYear() method in ZonedDateTime
1398 return resolveLocal(dateTime.withDayOfYear(dayOfYear)); in withDayOfYear()
DLocalDateTime.java1032 public LocalDateTime withDayOfYear(int dayOfYear) { in withDayOfYear() method in LocalDateTime
1033 return with(date.withDayOfYear(dayOfYear), time); in withDayOfYear()
DLocalDate.java1023 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/
DTestZoneTextPrinterParser.java78 zdt = zdt.withDayOfYear(r.nextInt(365) + 1) in test_printText()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestOffsetDateTime.java168 … OffsetDateTime t = TEST_2008_6_30_11_30_59_000000500.withDayOfYear(31 + 29 + 31 + 30 + 31 + 30); in test_withDayOfYear_noChange()
DTestLocalDate.java146 LocalDate t = TEST_2007_07_15.withDayOfYear(31 + 28 + 31 + 30 + 31 + 30 + 15); in test_withDayOfYear_noChange_same()
DTestLocalDateTime.java146 …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/
DOffsetDateTime.java249 public java.time.OffsetDateTime withDayOfYear(int dayOfYear) { in withDayOfYear() method in OffsetDateTime
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZonedDateTime.java1467 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);
DTCKOffsetDateTime.java852 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);
DTCKLocalDate.java952 LocalDate t = TEST_2007_07_15.withDayOfYear(33);
958 TEST_2007_07_15.withDayOfYear(367);
963 TEST_2007_07_15.withDayOfYear(366);
DTCKLocalDateTime.java1255 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/
DIsoFields.java610 return (int) getWeekRange(date.withDayOfYear(180).minusYears(1)).getMaximum(); in getWeek()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java458 LocalDate firstDayOfWeekBasedYear = date.plusDays(14).withDayOfYear(1); in test_loop()
DTCKWeekFields.java208 LocalDate day1 = day.withDayOfYear(1); in test_weekOfYearField()
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRules.java471 odt = odt.withDayOfYear(1).plusYears(1).with(LocalTime.MIDNIGHT); in test_London_previousTransition_rulesBased()
/libcore/api/
Dcurrent.txt10756 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);