add method

Instant add(
  1. Duration duration
)

Returns a new Instant instance with duration added to this.

The returned Instant is in the same time zone as this and does not take into account daylight saving offsets.

Implementation

Instant add(Duration duration) => this + duration;