kotlinx-datetime v0.4.0 Release Notes

    • ➕ Add the LocalTime class for representing time-of-day (#57). Thank you, @bishiboosh!
    • Provide LocalTime#toSecondOfDay, LocalTime.fromSecondOfDay, and various other functions for compact representation of LocalTime (#204). Thank you, @vanniktech!
    • Provide LocalDate#toEpochDays, LocalDate.fromEpochDays for representing a LocalDate as a single number (#214).
    • 📇 Rename Clock.todayAt to Clock.todayIn for naming consistency (#206).
    • ⚡️ Update the Kotlin dependency to 1.7.0.