core / io.islandtime.measures / Period / minus

minus

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) operator fun minus(other: Period): Period

Subtract each component of another period from this period.

Exceptions

ArithmeticException - if overflow occurs

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) operator fun minus(years: IntYears): Period
operator fun minus(months: IntMonths): Period
operator fun minus(weeks: IntWeeks): Period
operator fun minus(days: IntDays): Period
operator fun minus(years: LongYears): Period
operator fun minus(months: LongMonths): Period
operator fun minus(weeks: LongWeeks): Period
operator fun minus(days: LongDays): Period