interface LocaleOptions
Date(milliseconds: Number)
Date(dateString: String)
Date(year: Int, month: Int)
Date(year: Int, month: Int, day: Int)
Date(year: Int, month: Int, day: Int, hour: Int)
Date(year: Int, month: Int, day: Int, hour: Int, minute: Int)
Date( year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Int)
Date( year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Int, millisecond: Number)
Exposes the Date API to Kotlin.
Date()
fun getDate(): Int
fun getDay(): Int
fun getFullYear(): Int
fun getHours(): Int
fun getMilliseconds(): Int
fun getMinutes(): Int
fun getMonth(): Int
fun getSeconds(): Int
fun getTime(): Double
fun getTimezoneOffset(): Int
fun getUTCDate(): Int
fun getUTCDay(): Int
fun getUTCFullYear(): Int
fun getUTCHours(): Int
fun getUTCMilliseconds(): Int
fun getUTCMinutes(): Int
fun getUTCMonth(): Int
fun getUTCSeconds(): Int
fun toDateString(): String
fun toISOString(): String
fun toJSON(): Json
fun toLocaleDateString( locales: Array<String> = definedExternally, options: LocaleOptions = definedExternally ): String
fun toLocaleDateString( locales: String, options: LocaleOptions = definedExternally ): String
fun toLocaleString( locales: Array<String> = definedExternally, options: LocaleOptions = definedExternally ): String
fun toLocaleString( locales: String, options: LocaleOptions = definedExternally ): String
fun toLocaleTimeString( locales: Array<String> = definedExternally, options: LocaleOptions = definedExternally ): String
fun toLocaleTimeString( locales: String, options: LocaleOptions = definedExternally ): String
fun toTimeString(): String
fun toUTCString(): String
fun now(): Double
fun parse(dateString: String): Double
fun UTC(year: Int, month: Int): Double
fun UTC(year: Int, month: Int, day: Int): Double
fun UTC(year: Int, month: Int, day: Int, hour: Int): Double
fun UTC( year: Int, month: Int, day: Int, hour: Int, minute: Int ): Double
fun UTC( year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Int ): Double
fun UTC( year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Int, millisecond: Number ): Double
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.js/-date/index.html