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

isBeforeOrEqual

infix fun <T : ChronoLocalDate> Expect<T>.isBeforeOrEqual(expected: ChronoLocalDate): Expect<T> (source)
Deprecated: Use toBeBeforeOrTheSamePointInTimeAs; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a ChronoLocalDate) is before or equal the expected.

Return
an Expect for the subject of this expectation.

Since
0.12.0

infix fun <T : ChronoLocalDate> Expect<T>.isBeforeOrEqual(expected: String): Expect<T> (source)
Deprecated: Use toBeBeforeOrTheSamePointInTimeAs; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a ChronoLocalDate) is before or equal 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>.isBeforeOrEqual(expected: ChronoLocalDateTime<*>): Expect<T> (source)
Deprecated: Use toBeBeforeOrTheSamePointInTimeAs; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a ChronoLocalDateTime) is before or equal the expected.

Return
an Expect for the subject of this expectation.

Since
0.12.0

infix fun <T : ChronoZonedDateTime<out ChronoLocalDate>> Expect<T>.isBeforeOrEqual(expected: ChronoZonedDateTime<*>): Expect<T> (source)
Deprecated: Use toBeBeforeOrTheSamePointInTimeAs; will be removed with 1.0.0 at the latest

Expects that the subject of this expectation (a ChronoZonedDateTime) is before or equals the expected.

Return
an Expect for the subject of this expectation.

Since
0.12.0