Skip to content

//core/io.islandtime.measures/times

times

common

operator fun Int.times(centuries: Centuries): Centuries

operator fun Long.times(centuries: Centuries): Centuries

Multiplies this value by a duration of centuries.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(days: Days): Days

operator fun Long.times(days: Days): Days

Multiplies this value by a duration of days.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(decades: Decades): Decades

operator fun Long.times(decades: Decades): Decades

Multiplies this value by a duration of decades.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(hours: Hours): Hours

operator fun Long.times(hours: Hours): Hours

Multiplies this value by a duration of hours.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(microseconds: Microseconds): Microseconds

operator fun Long.times(microseconds: Microseconds): Microseconds

Multiplies this value by a duration of microseconds.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(milliseconds: Milliseconds): Milliseconds

operator fun Long.times(milliseconds: Milliseconds): Milliseconds

Multiplies this value by a duration of milliseconds.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(minutes: Minutes): Minutes

operator fun Long.times(minutes: Minutes): Minutes

Multiplies this value by a duration of minutes.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(months: Months): Months

operator fun Long.times(months: Months): Months

Multiplies this value by a duration of months.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(nanoseconds: Nanoseconds): Nanoseconds

operator fun Long.times(nanoseconds: Nanoseconds): Nanoseconds

Multiplies this value by a duration of nanoseconds.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(seconds: Seconds): Seconds

operator fun Long.times(seconds: Seconds): Seconds

Multiplies this value by a duration of seconds.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(weeks: Weeks): Weeks

operator fun Long.times(weeks: Weeks): Weeks

Multiplies this value by a duration of weeks.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(years: Years): Years

operator fun Long.times(years: Years): Years

Multiplies this value by a duration of years.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(duration: Duration): Duration

Multiplies this value by a duration.

Throws

ArithmeticException if overflow occurs

common

operator fun Int.times(period: Period): Period

operator fun Long.times(period: Period): Period