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()
|
D | TCKDuration.java | 2237 …public void multipliedBy(long seconds, int nanos, int multiplicand, long expectedSeconds, int expe… in multipliedBy() method in TCKDuration 2239 t = t.multipliedBy(multiplicand); in multipliedBy() 2247 assertEquals(test.multipliedBy(Long.MAX_VALUE), Duration.ofSeconds(Long.MAX_VALUE)); in multipliedBy_max() 2253 assertEquals(test.multipliedBy(Long.MIN_VALUE), Duration.ofSeconds(Long.MIN_VALUE)); in multipliedBy_min() 2259 test.multipliedBy(Long.MAX_VALUE); in multipliedBy_tooBig() 2265 test.multipliedBy(Long.MIN_VALUE); in multipliedBy_tooBig_negative()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Duration.java | 709 Duration duration = unit.getDuration().multipliedBy(amountToAdd); in plus() 950 public Duration multipliedBy(long multiplicand) { in multipliedBy() method in Duration 1018 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/src/test/java/time/tck/java/time/chrono/ |
D | TCKChronoPeriod.java | 246 assertEquals(period.multipliedBy(3), chrono.period(3, 6, 9)); in test_multipliedBy()
|