Home
last modified time | relevance | path

Searched refs:multipliedBy (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/time/chrono/
DChronoPeriod.java241 ChronoPeriod multipliedBy(int scalar); in multipliedBy() method
256 return multipliedBy(-1); in negated()
DChronoPeriodImpl.java215 public ChronoPeriod multipliedBy(int scalar) { in multipliedBy() method in ChronoPeriodImpl
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKPeriod.java908 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/
DDuration.java711 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()
DPeriod.java782 public Period multipliedBy(int scalar) { in multipliedBy() method in Period
806 return multipliedBy(-1); in negated()
/libcore/ojluni/annotations/hiddenapi/java/time/
DDuration.java249 public java.time.Duration multipliedBy(long multiplicand) { in multipliedBy() method in Duration
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoPeriod.java246 assertEquals(period.multipliedBy(3), chrono.period(3, 6, 9)); in test_multipliedBy()