/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalDate.java | 393 LocalDate t = reference.minusDays(days).minusDays(-days); in test_minusDays_symmetry() 396 t = reference.minusDays(-days).minusDays(days); in test_minusDays_symmetry() 403 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 | 295 OffsetDateTime test = base.minusDays(0); in test_minusDays_zero()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalDateTime.java | 1773 LocalDate d = base.toLocalDate().minusDays(3); 1792 LocalDate d = base.toLocalDate().minusDays(3); 1837 LocalDate d = base.toLocalDate().minusDays(1); 1896 LocalDate date = TEST_2007_07_15_12_30_40_987654321.toLocalDate().minusDays(1); 1997 LocalDate date = TEST_2007_07_15_12_30_40_987654321.toLocalDate().minusDays(1); 2357 LocalDateTime t = reference.minusDays(days).minusDays(-days); 2360 t = reference.minusDays(-days).minusDays(days); 2367 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusDays(1); 2373 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusDays(62); 2379 LocalDateTime t = LocalDateTime.of(2008, 7, 16, 12, 30, 40, 987654321).minusDays(367); [all …]
|
D | TCKLocalDate.java | 1676 LocalDate t = TEST_2007_07_15.minusDays(1); 1682 LocalDate t = TEST_2007_07_15.minusDays(62); 1688 LocalDate t = LocalDate.of(2008, 7, 16).minusDays(367); 1694 LocalDate t = TEST_2007_07_15.plusYears(2).minusDays(365 + 366); 1700 LocalDate t = TEST_2007_07_15.minusDays(-1); 1706 LocalDate t = TEST_2007_07_15.minusDays(-169); 1712 LocalDate t = TEST_2007_07_15.minusDays(-731); 1718 LocalDate t = LocalDate.of(Year.MAX_VALUE, 12, 30).minusDays(-1); 1725 LocalDate t = LocalDate.of(Year.MIN_VALUE, 1, 2).minusDays(1); 1732 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 | 1818 t = t.minusDays(amount); in minusDays_long() 1825 t.minusDays(-1); in minusDays_long_overflowTooBig() 1831 t.minusDays(1); in minusDays_long_overflowTooSmall()
|
D | TCKOffsetDateTime.java | 1084 OffsetDateTime test = base.minusDays(1);
|
D | TCKZonedDateTime.java | 1934 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 | 652 JapaneseDate minusDays(long daysToSubtract) { in minusDays() method in JapaneseDate 653 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 | 1468 public LocalDateTime minusDays(long days) { in minusDays() method in LocalDateTime 1718 endDate = endDate.minusDays(1); in until()
|
D | LocalDate.java | 1415 … return minusMonths(periodToSubtract.toTotalMonths()).minusDays(periodToSubtract.getDays()); in minus() 1528 public LocalDate minusDays(long daysToSubtract) { in minusDays() method in LocalDate
|
D | Period.java | 765 public Period minusDays(long daysToSubtract) { in minusDays() method in Period
|
D | Duration.java | 870 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 | 1932 public ZonedDateTime minusDays(long days) { in minusDays() method in ZonedDateTime
|
/libcore/api/ |
D | current.txt | 11433 method public java.time.Duration minusDays(long); 11565 method public java.time.LocalDate minusDays(long); 11631 method public java.time.LocalDateTime minusDays(long); 11828 method public java.time.OffsetDateTime minusDays(long); 11954 method public java.time.Period minusDays(long); 12123 method public java.time.ZonedDateTime minusDays(long);
|