plus static method
Adds a duration to an offset date and time.
offsetDateTime
: The value to add the duration to.time
: The duration to add
Returns: A new value with the time advanced by the given duration, in the same calendar system and with the same offset.
Implementation
static OffsetDateTime plus(OffsetDateTime offsetDateTime, Time time) => offsetDateTime + time;