kotest-assertions-core / io.kotest.matchers.date / java.time.OffsetDateTime / shouldNotBeToday

shouldNotBeToday

fun OffsetDateTime.shouldNotBeToday(): Unit

Asserts that the OffsetDateTime does not have a date component of today

    OffsetDateTime.of(2009, Month.APRIL, 2,2,2).shouldNotBeToday() // Assertion passes