DateTimeFormat

open class DateTimeFormat(locales: String = definedExternally, options: DateTimeFormatOptions = definedExternally)(source)

Constructors

Link copied to clipboard
constructor(locales: ReadonlyArray<JsString>, options: DateTimeFormatOptions = definedExternally)
constructor(locales: String = definedExternally, options: DateTimeFormatOptions = definedExternally)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun format(date: Date = definedExternally): String
fun format(date: Int53): String
Link copied to clipboard
fun formatRange(startDate: BigInt, endDate: BigInt): String
fun formatRange(startDate: Date, endDate: Date): String
fun formatRange(startDate: Int53, endDate: Int53): String
Link copied to clipboard