//core/io.islandtime/Date/plus
plus¶
common
operator fun plus(period: Period): Date
Returns this 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.
common
operator fun plus(centuries: Centuries): Date
Returns this date with centuries added to it.
common
operator fun plus(decades: Decades): Date
Returns this date with decades added to it.
common
operator fun plus(years: Years): Date
Returns this date with years added to it.
common
operator fun plus(months: Months): Date
Returns this date with months added to it.
common
operator fun plus(weeks: Weeks): Date
Returns this date with weeks added to it.
common
operator fun plus(days: Days): Date
Returns this date with days added to it.