operator fun plus(period: Period): Date
Return a Date with period added to it.
Years are added first, then months, then days. If the day exceeds the maximum month length at any step, it will be coerced into the valid range. This behavior is consistent with the order of operations for period addition as defined in ISO-8601-2.
(iosArm64, iosX64, jvm, macosX64)operator fun plus(years: IntYears): Dateoperator fun plus(years: LongYears): Dateoperator fun plus(months: IntMonths): Dateoperator fun plus(months: LongMonths): Dateoperator fun plus(weeks: IntWeeks): Dateoperator fun plus(weeks: LongWeeks): Dateoperator fun plus(days: IntDays): Dateoperator fun plus(days: LongDays): Date