/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 | 646 JapaneseDate minusMonths(long monthsToSubtract) { in minusMonths() method in JapaneseDate 647 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 | 1458 LocalDate t = TEST_2007_07_15.minusMonths(1); 1464 LocalDate t = TEST_2007_07_15.minusMonths(25); 1470 LocalDate t = TEST_2007_07_15.minusMonths(-1); 1476 LocalDate t = TEST_2007_07_15.minusMonths(-7); 1482 LocalDate t = TEST_2007_07_15.minusMonths(-31); 1488 LocalDate t = LocalDate.of(2008, 2, 29).minusMonths(12); 1495 LocalDate t = LocalDate.of(2007, 3, 31).minusMonths(1); 1503 LocalDate test = LocalDate.of(40, 6, 1).minusMonths(months); 1509 LocalDate.of(Year.MAX_VALUE, 12, 1).minusMonths(-1); 1515 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 | 2165 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusMonths(1); 2171 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusMonths(25); 2177 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusMonths(-1); 2183 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusMonths(-7); 2189 LocalDateTime t = TEST_2007_07_15_12_30_40_987654321.minusMonths(-31); 2195 LocalDateTime t = createDateMidnight(2008, 2, 29).minusMonths(12); 2201 LocalDateTime t = createDateMidnight(2007, 3, 31).minusMonths(1); 2207 createDateMidnight(Year.MAX_VALUE, 12, 1).minusMonths(-1); 2212 createDateMidnight(Year.MIN_VALUE, 1, 1).minusMonths(1);
|
D | TCKZonedDateTime.java | 1903 ZonedDateTime test = base.minusMonths(1); 1904 assertEquals(test, ZonedDateTime.of(ldt.minusMonths(1), ZONE_0100)); 1911 ZonedDateTime test = base.minusMonths(0);
|
D | TCKOffsetDateTime.java | 1079 OffsetDateTime test = base.minusMonths(1);
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestOffsetDateTime.java | 277 OffsetDateTime test = base.minusMonths(0); in test_minusMonths_zero()
|
D | TestLocalDate.java | 298 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/src/main/java/java/time/ |
D | LocalDate.java | 1373 … return minusMonths(periodToSubtract.toTotalMonths()).minusDays(periodToSubtract.getDays()); in minus() 1448 public LocalDate minusMonths(long monthsToSubtract) { in minusMonths() method in LocalDate
|
D | Period.java | 746 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 | 1886 public ZonedDateTime minusMonths(long months) { in minusMonths() method in ZonedDateTime
|
D | LocalDateTime.java | 1437 public LocalDateTime minusMonths(long months) { in minusMonths() method in LocalDateTime
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | OffsetDateTime.java | 326 public java.time.OffsetDateTime minusMonths(long months) { in minusMonths() method in OffsetDateTime
|
/libcore/api/ |
D | current.txt | 10733 method public java.time.LocalDate minusMonths(long); 10784 method public java.time.LocalDateTime minusMonths(long); 10971 method public java.time.OffsetDateTime minusMonths(long); 11085 method public java.time.Period minusMonths(long); 11167 method public java.time.YearMonth minusMonths(long); 11240 method public java.time.ZonedDateTime minusMonths(long);
|