plus

operator fun plus(period: Period): DateTime

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.

operator fun plus(duration: Duration): DateTime
operator fun plus(duration: Duration): DateTime

Returns this date-time with duration added to it.

operator fun plus(centuries: Centuries): DateTime

Returns this date-tme with centuries added to it.

operator fun plus(decades: Decades): DateTime

Returns this date-time with decades added to it.

operator fun plus(years: Years): DateTime

Returns this date-time with years added to it.

operator fun plus(months: Months): DateTime

Returns this date-time with months added to it.

operator fun plus(weeks: Weeks): DateTime

Returns this date-time with weeks added to it.

operator fun plus(days: Days): DateTime

Returns this date-time with days added to it.

operator fun plus(hours: Hours): DateTime

Returns this date-time with hours added to it.

operator fun plus(minutes: Minutes): DateTime

Returns this date-time with minutes added to it.

operator fun plus(seconds: Seconds): DateTime

Returns this date-time with seconds added to it.

operator fun plus(milliseconds: Milliseconds): DateTime

Returns this date-time with milliseconds added to it.

operator fun plus(microseconds: Microseconds): DateTime

Returns this date-time with microseconds added to it.

operator fun plus(nanoseconds: Nanoseconds): DateTime

Returns this date-time with nanoseconds added to it.