Searched refs:multipliedBy (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoPeriod.java | 241 ChronoPeriod multipliedBy(int scalar); in multipliedBy() method 256 return multipliedBy(-1); in negated()
|
D | ChronoPeriodImpl.java | 215 public ChronoPeriod multipliedBy(int scalar) { in multipliedBy() method in ChronoPeriodImpl
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKPeriod.java | 908 assertPeriod(test.multipliedBy(0), 0, 0, 0); in test_multipliedBy() 909 assertPeriod(test.multipliedBy(1), 1, 2, 3); in test_multipliedBy() 910 assertPeriod(test.multipliedBy(2), 2, 4, 6); in test_multipliedBy() 911 assertPeriod(test.multipliedBy(-3), -3, -6, -9); in test_multipliedBy() 916 assertPeriod(Period.ZERO.multipliedBy(2), 0, 0, 0); in test_multipliedBy_zeroBase() 922 test.multipliedBy(2); in test_multipliedBy_overflowTooBig() 928 test.multipliedBy(2); in test_multipliedBy_overflowTooSmall()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 711 Duration duration = unit.getDuration().multipliedBy(amountToAdd); in plus() 952 public Duration multipliedBy(long multiplicand) { in multipliedBy() method in Duration 1038 return multipliedBy(-1); in negated()
|
D | Period.java | 782 public Period multipliedBy(int scalar) { in multipliedBy() method in Period 806 return multipliedBy(-1); in negated()
|
/libcore/ojluni/annotations/hiddenapi/java/time/ |
D | Duration.java | 249 public java.time.Duration multipliedBy(long multiplicand) { in multipliedBy() method in Duration
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoPeriod.java | 246 assertEquals(period.multipliedBy(3), chrono.period(3, 6, 9)); in test_multipliedBy()
|