plus

expect operator fun plus(duration: <Error class: unknown class>): Instant

Returns an instant that is the result of adding the specified duration to this instant. NOTE: Duration may be negative in which case the returned Instant will be earlier than this Instant.

actual operator fun plus(duration: Duration): Instant

Returns an instant that is the result of adding the specified duration to this instant.

If the duration is positive, the returned instant is later than this instant. If the duration is negative, the returned instant is earlier than this instant.