operator + method

ZonedDateTime operator +(
  1. Time time
)

Returns a new ZonedDateTime with the time advanced by the given duration. Note that due to daylight saving time changes this may not advance the local time by the same amount.

The returned value retains the calendar system and time zone of zonedDateTime.

Returns: A new value with the time advanced by the given duration, in the same calendar system and time zone.

Implementation

ZonedDateTime operator +(Time time) => add(time);