times

operator fun times(scalar: Int): IntYears
operator fun times(scalar: Long): LongYears

Multiplies this duration by a scalar value.

Throws

if overflow occurs