commonMain.krono.TemporalComparable.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of krono-api Show documentation
Show all versions of krono-api Show documentation
An multiplatform interoperable datetime library
@file:JsExport
package krono
import kotlinx.JsExport
interface TemporalComparable : Comparable {
fun isBefore(other: E): Boolean = this < other
fun isAfter(other: E): Boolean = this > other
}