Skip to content

//core/io.islandtime/ZonedDateTime/plus

plus

common

operator fun plus(period: Period): ZonedDateTime

Returns this date-time 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(duration: Duration): ZonedDateTime

common

operator fun plus(duration: Duration): ZonedDateTime

Returns this date-time with duration added to it.

common

operator fun plus(centuries: Centuries): ZonedDateTime

Returns this date-tme with centuries added to it.

common

operator fun plus(decades: Decades): ZonedDateTime

Returns this date-time with decades added to it.

common

operator fun plus(years: Years): ZonedDateTime

Returns this date-time with years added to it.

common

operator fun plus(months: Months): ZonedDateTime

Returns this date-time with months added to it.

common

operator fun plus(weeks: Weeks): ZonedDateTime

Returns this date-time with weeks added to it.

common

operator fun plus(days: Days): ZonedDateTime

Returns this date-time with days added to it.

common

open operator override fun plus(hours: Hours): ZonedDateTime

Returns this date-time with hours added to it.

common

open operator override fun plus(minutes: Minutes): ZonedDateTime

Returns this date-time with minutes added to it.

common

open operator override fun plus(seconds: Seconds): ZonedDateTime

Returns this date-time with seconds added to it.

common

open operator override fun plus(milliseconds: Milliseconds): ZonedDateTime

Returns this date-time with milliseconds added to it.

common

open operator override fun plus(microseconds: Microseconds): ZonedDateTime

Returns this date-time with microseconds added to it.

common

open operator override fun plus(nanoseconds: Nanoseconds): ZonedDateTime

Returns this date-time with nanoseconds added to it.