add method
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;