commonMain.krono.LocalDateTime.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of krono-api-jvm Show documentation
Show all versions of krono-api-jvm Show documentation
An multiplatform interoperable datetime library
@file:JsExport
@file:Suppress("NON_EXPORTABLE_TYPE")
package krono
import kotlinx.serialization.Serializable
import krono.serializers.LocalDateIsoSerializer
import krono.serializers.LocalDateTimeIsoSerializer
import kotlinx.JsExport
@Serializable(with = LocalDateTimeIsoSerializer::class)
interface LocalDateTime : DateLike, TimeLike, Dateable, TemporalComparable {
val date: LocalDate
val time: LocalTime
}