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

shouldBeToday

fun OffsetDateTime.shouldBeToday(): Unit

Asserts that the OffsetDateTime has a date component of today

    OffsetDateTime.now().shouldBeToday() // Assertion passes