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

Extensions for strikt.api.Assertion.Builder

get

Maps an assertion on the subject to an assertion on the value of the specified temporal field.

fun <T : TemporalAccessor> Builder<T>.get(field: TemporalField): Builder<Int>

getLong

Maps an assertion on the subject to an assertion on the value of the specified temporal field.

fun <T : TemporalAccessor> Builder<T>.getLong(field: TemporalField): Builder<Long>

isAfter

Asserts that the subject is after expected.

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

isBefore

Asserts that the subject is before expected.

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