commonMain.krono.PureFormatterBuilders.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 krono.internal.formatters.PureDateFormatterImpl
import krono.internal.formatters.PureDateTimeFormatterImpl
import krono.internal.formatters.PureTimeFormatterImpl
import kotlinx.JsExport
import kotlin.js.JsName
@JsName("pureDateFormatter")
fun PureDateFormatter(pattern: String): PureDateFormatter = PureDateFormatterImpl(pattern)
@JsName("pureTimeFormatter")
fun PureTimeFormatter(pattern: String): PureTimeFormatter = PureTimeFormatterImpl(pattern)
@JsName("pureDateTimeFormatter")
fun PureDateTimeFormatter(pattern: String): PureDateTimeFormatter = PureDateTimeFormatterImpl(pattern)