commonMain.krono.PresenterPattern.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
data class PresenterPattern(
val date: String,
val time: String,
val dateTime: String
) {
val formatter = PresenterFormatter(
pattern = this,
date = PureDateFormatter(date),
time = PureTimeFormatter(time),
dateTime = PureDateTimeFormatter(dateTime)
)
}