times

Common
JVM
JS
Native
1.0
operator fun times(scale: Int): Duration
(source)
operator fun times(scale: Double): Duration
(source)

Returns a duration whose value is this duration value multiplied by the given scale number.

Exceptions

IllegalArgumentException - if the operation results in an undefined value for the given arguments, e.g. when multiplying an infinite duration by zero.