commonMain.net.codinux.i18n.datetime.DateTimeFormat.kt Maven / Gradle / Ivy
Go to download
Localizing language, country, unit and currency names and formatting numbers and dates for Kotlin Multiplatform with the data from Unicode CLDR project
The newest version!
package net.codinux.i18n.datetime
data class DateTimeFormat(
val dateFormat: String,
val timeFormat: String,
val dateTimeFormat: String,
) {
companion object {
val IsoDatePattern = "yyyy-MM-dd"
val IsoLocalTimePattern = "HH:mm:ss.SSSSSSSSS"
val IsoTimePattern = "$IsoLocalTimePattern'Z'"
val IsoDateTimePattern = "$IsoDatePattern'T'$IsoLocalTimePattern"
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy