doc / ch.tutteli.atrium.api.infix.en_GB / isAfter

isAfter

infix fun <T : ChronoLocalDate> Expect<T>.isAfter(expected: ChronoLocalDate): Expect<T> (source)

Expects that the subject of this expectation (a ChronoLocalDate) is after the expected.

Return
an Expect for the subject of this expectation.

Since
0.12.0

infix fun <T : ChronoLocalDate> Expect<T>.isAfter(expected: String): Expect<T> (source)

Expects that the subject of this expectation (a ChronoLocalDate) is after the expected given as String. The expected parameter needs to be in the form of yyyy-mm-dd or else a java.time.DateTimeException will be thrown.

Return
an Expect for the subject of this expectation.

Since
0.14.0

infix fun <T : ChronoLocalDateTime<out ChronoLocalDate>> Expect<T>.isAfter(expected: ChronoLocalDateTime<*>): Expect<T> (source)

Expects that the subject of this expectation (a ChronoLocalDateTime) is after the expected.

Return
an Expect for the subject of this expectation.

Since
0.12.0

infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.isAfter(expected: ChronoZonedDateTime<*>): Expect<T> (source)

Expects that the subject of this expectation (a ChronoZonedDateTime) is after the expected.

Return
an Expect for the subject of this expectation.

Since
0.12.0