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

get

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

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

Exceptions

java.time.temporal.UnsupportedTemporalTypeException - if the subject does not support the field type.

See Also

TemporalAccessor.get