kxjtime / com.sandjelkovic.kxjtime / java.time.Duration / before

before

infix fun Duration.before(zonedDateTime: ZonedDateTime): ZonedDateTime (source)

Subtract the Duration from ZonedDateTime

Return
ZonedDateTime minus the receiver Duration

infix fun Duration.before(instant: Instant): Instant (source)

Subtract the Duration from Instant

Return
Instant minus the receiver Duration

infix fun Duration.before(time: LocalDateTime): LocalDateTime (source)

Subtract the Duration from LocalDateTime

Return
LocalDateTime minus the receiver Duration