core / io.islandtime.measures / LongYears / div

div

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) operator fun div(scalar: Int): LongYears
operator fun div(scalar: Long): LongYears

Divide by a scalar value.

Exceptions

ArithmeticException - if overflow occurs or the scalar is zero