minus

operator fun Instant.minus(other: Instant): Duration

Subtracts an instant from another instant, represented as a duration.


operator fun Instant.minus(duration: Duration): Instant

Subtracts a duration from an instant, to produce another instant.