/libcore/ojluni/src/main/java/java/time/chrono/ |
D | MinguoDate.java | 401 MinguoDate minusMonths(long monthsToSubtract) { in minusMonths() method in MinguoDate 402 return super.minusMonths(monthsToSubtract); in minusMonths()
|
D | ThaiBuddhistDate.java | 401 ThaiBuddhistDate minusMonths(long monthsToSubtract) { in minusMonths() method in ThaiBuddhistDate 402 return super.minusMonths(monthsToSubtract); in minusMonths()
|
D | HijrahDate.java | 566 HijrahDate minusMonths(long monthsToSubtract) { in minusMonths() method in HijrahDate 567 return super.minusMonths(monthsToSubtract); in minusMonths()
|
D | JapaneseDate.java | 642 JapaneseDate minusMonths(long monthsToSubtract) { in minusMonths() method in JapaneseDate 643 return super.minusMonths(monthsToSubtract); in minusMonths()
|
D | ChronoLocalDateImpl.java | 332 D minusMonths(long monthsToSubtract) { in minusMonths() method in ChronoLocalDateImpl
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKYearMonth.java | 897 assertEquals(test.minusMonths(1), YearMonth.of(2008, 5)); in test_minusMonths_long() 903 assertEquals(test.minusMonths(0), test); in test_minusMonths_long_noChange_equal() 909 assertEquals(test.minusMonths(6), YearMonth.of(2007, 12)); in test_minusMonths_long_overYears() 915 assertEquals(test.minusMonths(-1), YearMonth.of(2008, 7)); in test_minusMonths_long_negative() 921 assertEquals(test.minusMonths(-7), YearMonth.of(2009, 1)); in test_minusMonths_long_negativeOverYear() 928 …assertEquals(test.minusMonths(months), YearMonth.of((int) (40L - months / 12), 6 - (int) (months %… in test_minusMonths_long_big() 934 test.minusMonths(-1); in test_minusMonths_long_invalidTooLarge() 940 test.minusMonths(Long.MAX_VALUE); in test_minusMonths_long_invalidTooLargeMaxSubtractMax() 946 test.minusMonths(Long.MIN_VALUE); in test_minusMonths_long_invalidTooLargeMaxSubtractMin() 952 test.minusMonths(1); in test_minusMonths_long_invalidTooSmall()
|
D | TCKLocalDate.java | 1527 LocalDate t = TEST_2007_07_15.minusMonths(1); 1533 LocalDate t = TEST_2007_07_15.minusMonths(25); 1539 LocalDate t = TEST_2007_07_15.minusMonths(-1); 1545 LocalDate t = TEST_2007_07_15.minusMonths(-7); 1551 LocalDate t = TEST_2007_07_15.minusMonths(-31); 1557 LocalDate t = LocalDate.of(2008, 2, 29).minusMonths(12); 1564 LocalDate t = LocalDate.of(2007, 3, 31).minusMonths(1); 1572 LocalDate test = LocalDate.of(40, 6, 1).minusMonths(months); 1578 LocalDate.of(Year.MAX_VALUE, 12, 1).minusMonths(-1); 1584 test.minusMonths(Long.MAX_VALUE); [all …]
|
D | TCKPeriod.java | 851 assertPeriod(Period.of(1, 2, 3).minusMonths(0), 1, 2, 3); in test_minusMonths() 852 assertPeriod(Period.of(1, 2, 3).minusMonths(10), 1, -8, 3); in test_minusMonths() 853 assertPeriod(Period.of(1, 2, 3).minusMonths(-10), 1, 12, 3); in test_minusMonths() 854 assertPeriod(Period.of(1, 2, 3).minusMonths(-2), 1, 4, 3); in test_minusMonths() 865 test.minusMonths(-1); in test_minusMonths_overflowTooBig() 871 test.minusMonths(1); in test_minusMonths_overflowTooSmall()
|
D | TCKLocalDateTime.java | 2159 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusMonths(1); 2165 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusMonths(25); 2171 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusMonths(-1); 2177 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusMonths(-7); 2183 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusMonths(-31); 2189 LocalDateTime t = createDateMidnight(2008, 2, 29).minusMonths(12); 2195 LocalDateTime t = createDateMidnight(2007, 3, 31).minusMonths(1); 2201 createDateMidnight(Year.MAX_VALUE, 12, 1).minusMonths(-1); 2206 createDateMidnight(Year.MIN_VALUE, 1, 1).minusMonths(1);
|
D | TCKZonedDateTime.java | 1898 ZonedDateTime test = base.minusMonths(1); 1899 assertEquals(test, ZonedDateTime.of(ldt.minusMonths(1), ZONE_0100)); 1906 ZonedDateTime test = base.minusMonths(0);
|
D | TCKOffsetDateTime.java | 1064 OffsetDateTime test = base.minusMonths(1);
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestOffsetDateTime.java | 281 OffsetDateTime test = base.minusMonths(0); in test_minusMonths_zero()
|
D | TestLocalDate.java | 299 LocalDate t = TEST_2007_07_15.minusMonths(0); in test_minusMonths_long_noChange_same()
|
D | TestLocalDateTime.java | 380 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusMonths(0); in test_minusMonths_int_noChange()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 326 public java.time.OffsetDateTime minusMonths(long months) { in minusMonths() method in OffsetDateTime
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalDate.java | 1415 … return minusMonths(periodToSubtract.toTotalMonths()).minusDays(periodToSubtract.getDays()); in minus() 1490 public LocalDate minusMonths(long monthsToSubtract) { in minusMonths() method in LocalDate
|
D | Period.java | 748 public Period minusMonths(long monthsToSubtract) { in minusMonths() method in Period
|
D | YearMonth.java | 923 public YearMonth minusMonths(long monthsToSubtract) { in minusMonths() method in YearMonth
|
D | OffsetDateTime.java | 1423 public OffsetDateTime minusMonths(long months) { in minusMonths() method in OffsetDateTime
|
D | ZonedDateTime.java | 1888 public ZonedDateTime minusMonths(long months) { in minusMonths() method in ZonedDateTime
|
D | LocalDateTime.java | 1430 public LocalDateTime minusMonths(long months) { in minusMonths() method in LocalDateTime
|
/libcore/api/ |
D | current.txt | 11566 method public java.time.LocalDate minusMonths(long); 11634 method public java.time.LocalDateTime minusMonths(long); 11831 method public java.time.OffsetDateTime minusMonths(long); 11955 method public java.time.Period minusMonths(long); 12042 method public java.time.YearMonth minusMonths(long); 12126 method public java.time.ZonedDateTime minusMonths(long);
|