Home
last modified time | relevance | path

Searched refs:scalar (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/time/chrono/
DChronoPeriodImpl.java215 public ChronoPeriod multipliedBy(int scalar) { in multipliedBy() argument
216 if (this.isZero() || scalar == 1) { in multipliedBy()
221 Math.multiplyExact(years, scalar), in multipliedBy()
222 Math.multiplyExact(months, scalar), in multipliedBy()
223 Math.multiplyExact(days, scalar)); in multipliedBy()
DChronoPeriod.java241 ChronoPeriod multipliedBy(int scalar); in multipliedBy() argument
/libcore/ojluni/src/main/java/java/time/
DPeriod.java782 public Period multipliedBy(int scalar) { in multipliedBy() argument
783 if (this == ZERO || scalar == 1) { in multipliedBy()
787 Math.multiplyExact(years, scalar), in multipliedBy()
788 Math.multiplyExact(months, scalar), in multipliedBy()
789 Math.multiplyExact(days, scalar)); in multipliedBy()