strikt-jvm / strikt.java.time / strikt.api.Assertion.Builder / isBefore

isBefore

infix fun <T : TemporalAccessor> Builder<T>.isBefore(expected: TemporalAccessor): Builder<T>

Asserts that the subject is before expected.

Exceptions

java.time.DateTimeException - if expected is not a compatible temporal type.