core / io.islandtime.measures / Period / plus

plus

(iosArm64, iosX64, jvm, macosX64) operator fun plus(other: Period): Period

Add each component of another period to each component of this period.

Exceptions

ArithmeticException - if overflow occurs

(iosArm64, iosX64, jvm, macosX64) operator fun plus(years: IntYears): Period
operator fun plus(months: IntMonths): Period
operator fun plus(weeks: IntWeeks): Period
operator fun plus(days: IntDays): Period
operator fun plus(years: LongYears): Period
operator fun plus(months: LongMonths): Period
operator fun plus(weeks: LongWeeks): Period
operator fun plus(days: LongDays): Period