Package strikt.time

Methods

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

Asserts that the subject is before expected.

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

Asserts that the subject is after expected.

Parameters:
  • expected: TemporalAccessor
fun <T : TemporalAccessor> Builder.get(field: TemporalField): Builder

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

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

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

Parameters:
  • field: TemporalField