/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalDate.java | 392 LocalDate t = reference.minusDays(days).minusDays(-days); in test_minusDays_symmetry() 395 t = reference.minusDays(-days).minusDays(days); in test_minusDays_symmetry() 402 LocalDate t = TEST_2007_07_15.minusDays(0); in test_minusDays_noChange_same()
|
D | TestLocalDateTime.java | 392 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusDays(0); in test_minusDays_noChange() 447 … assertEquals(t.toLocalDate(), TEST_2007_07_15_12_30_40_987654321.toLocalDate().minusDays(1)); in test_minusSeconds_noChange_oneDay() 472 … assertEquals(t.toLocalDate(), TEST_2007_07_15_12_30_40_987654321.toLocalDate().minusDays(1)); in test_minusNanos_noChange_oneDay()
|
D | TestOffsetDateTime.java | 291 OffsetDateTime test = base.minusDays(0); in test_minusDays_zero()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalDateTime.java | 1779 LocalDate d = base.toLocalDate().minusDays(3); 1798 LocalDate d = base.toLocalDate().minusDays(3); 1843 LocalDate d = base.toLocalDate().minusDays(1); 1902 LocalDate date = TEST_2007_07_15_12_30_40_987654321.toLocalDate().minusDays(1); 2003 LocalDate date = TEST_2007_07_15_12_30_40_987654321.toLocalDate().minusDays(1); 2363 LocalDateTime t = reference.minusDays(days).minusDays(-days); 2366 t = reference.minusDays(-days).minusDays(days); 2373 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusDays(1); 2379 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusDays(62); 2385 LocalDateTime t = LocalDateTime.of(2008, 7, 16, 12, 30, 40, 987654321).minusDays(367); [all …]
|
D | TCKLocalDate.java | 1607 LocalDate t = TEST_2007_07_15.minusDays(1); 1613 LocalDate t = TEST_2007_07_15.minusDays(62); 1619 LocalDate t = LocalDate.of(2008, 7, 16).minusDays(367); 1625 LocalDate t = TEST_2007_07_15.plusYears(2).minusDays(365 + 366); 1631 LocalDate t = TEST_2007_07_15.minusDays(-1); 1637 LocalDate t = TEST_2007_07_15.minusDays(-169); 1643 LocalDate t = TEST_2007_07_15.minusDays(-731); 1649 LocalDate t = LocalDate.of(Year.MAX_VALUE, 12, 30).minusDays(-1); 1656 LocalDate t = LocalDate.of(Year.MIN_VALUE, 1, 2).minusDays(1); 1663 LocalDate.of(Year.MAX_VALUE, 12, 31).minusDays(-1); [all …]
|
D | TCKPeriod.java | 879 assertPeriod(Period.of(1, 2, 3).minusDays(0), 1, 2, 3); in test_minusDays() 880 assertPeriod(Period.of(1, 2, 3).minusDays(10), 1, 2, -7); in test_minusDays() 881 assertPeriod(Period.of(1, 2, 3).minusDays(-10), 1, 2, 13); in test_minusDays() 882 assertPeriod(Period.of(1, 2, 3).minusDays(-3), 1, 2, 6); in test_minusDays() 893 test.minusDays(-1); in test_minusDays_overflowTooBig() 899 test.minusDays(1); in test_minusDays_overflowTooSmall()
|
D | TCKDuration.java | 1791 t = t.minusDays(amount); in minusDays_long() 1798 t.minusDays(-1); in minusDays_long_overflowTooBig() 1804 t.minusDays(1); in minusDays_long_overflowTooSmall()
|
D | TCKOffsetDateTime.java | 1099 OffsetDateTime test = base.minusDays(1);
|
D | TCKZonedDateTime.java | 1939 assertEquals(base.minusDays(-amount), expected);
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | MinguoDate.java | 411 MinguoDate minusDays(long daysToSubtract) { in minusDays() method in MinguoDate 412 return super.minusDays(daysToSubtract); in minusDays()
|
D | ThaiBuddhistDate.java | 411 ThaiBuddhistDate minusDays(long daysToSubtract) { in minusDays() method in ThaiBuddhistDate 412 return super.minusDays(daysToSubtract); in minusDays()
|
D | HijrahDate.java | 576 HijrahDate minusDays(long daysToSubtract) { in minusDays() method in HijrahDate 577 return super.minusDays(daysToSubtract); in minusDays()
|
D | JapaneseDate.java | 656 JapaneseDate minusDays(long daysToSubtract) { in minusDays() method in JapaneseDate 657 return super.minusDays(daysToSubtract); in minusDays()
|
D | ChronoLocalDateImpl.java | 370 D minusDays(long daysToSubtract) { in minusDays() method in ChronoLocalDateImpl
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | ZonedDateTimeTest.java | 75 checkOfInstant(LDT_P1, OFFSET_P2, ZONE_VIENNA, LDT_P1.minusDays(1).withHour(23), OFFSET_P1); in test_ofInstant()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 225 public java.time.Duration minusDays(long daysToSubtract) { in minusDays() method in Duration
|
D | OffsetDateTime.java | 334 public java.time.OffsetDateTime minusDays(long days) { in minusDays() method in OffsetDateTime
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalDateTime.java | 1475 public LocalDateTime minusDays(long days) { in minusDays() method in LocalDateTime 1725 endDate = endDate.minusDays(1); in until()
|
D | LocalDate.java | 1373 … return minusMonths(periodToSubtract.toTotalMonths()).minusDays(periodToSubtract.getDays()); in minus() 1486 public LocalDate minusDays(long daysToSubtract) { in minusDays() method in LocalDate
|
D | Period.java | 763 public Period minusDays(long daysToSubtract) { in minusDays() method in Period
|
D | Duration.java | 867 public Duration minusDays(long daysToSubtract) { in minusDays() method in Duration
|
D | OffsetDateTime.java | 1461 public OffsetDateTime minusDays(long days) { in minusDays() method in OffsetDateTime
|
D | ZonedDateTime.java | 1930 public ZonedDateTime minusDays(long days) { in minusDays() method in ZonedDateTime
|