Klock
Date and time utilities for Multiplatform Kotlin 1.3: consistent and portable. JVM, JS, Native and Common.
It is designed to be as allocation-free as possible using Kotlin inline classes, to be consistent and portable across targets since all the code is written in Common Kotlin, and to provide an API that is powerful, fun and easy to use.
Some samples:
Usage with gradle:
def klockVersion = "1.0.0"
repositories {
maven { url "https://dl.bintray.com/soywiz/soywiz" }
}
// For multiplatform projects
implementation "com.soywiz:klock:$klockVersion"