Skip to content

Kairo Date/Time

kairo-datetime extends kotlinx-datetime and adds some convenient helper functions.

Install kairo-datetime. You don’t need to install Kotlin’s datetime library separately — it’s included by default.

build.gradle.kts
dependencies {
implementation("software.airborne.kairo:kairo-datetime")
}

See kotlinx-datetime.

  • Instant (standard library)
  • LocalDateTime, LocalDate, YearMonth, LocalTime
  • TimeZone
  • Month and DayOfWeek enums