Конструкторы
constructor()
constructor(milliseconds: Number)
constructor(dateString: String)
constructor(year: Int, month: Int)
constructor(year: Int, month: Int, day: Int)
constructor(year: Int, month: Int, day: Int, hour: Int)
constructor(year: Int, month: Int, day: Int, hour: Int, minute: Int)
constructor(year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Int)
constructor(year: Int, month: Int, day: Int, hour: Int, minute: Int, second: Int, millisecond: Number)
Типы
Начиная с Kotlin: 1.1
interface LocaleOptions
Функции
Начиная с Kotlin: 1.1
fun getFullYear(): Int
Начиная с Kotlin: 1.1
fun getMilliseconds(): Int
Начиная с Kotlin: 1.1
fun getMinutes(): Int
Начиная с Kotlin: 1.1
fun getSeconds(): Int
Начиная с Kotlin: 1.1
fun getTimezoneOffset(): Int
Начиная с Kotlin: 1.1
fun getUTCDate(): Int
Начиная с Kotlin: 1.1
fun getUTCFullYear(): Int
Начиная с Kotlin: 1.1
fun getUTCHours(): Int
Начиная с Kotlin: 1.1
fun getUTCMilliseconds(): Int
Начиная с Kotlin: 1.1
fun getUTCMinutes(): Int
Начиная с Kotlin: 1.1
fun getUTCMonth(): Int
Начиная с Kotlin: 1.1
fun getUTCSeconds(): Int
Начиная с Kotlin: 1.1
fun toDateString(): String
Начиная с Kotlin: 1.1
fun toISOString(): String
Начиная с Kotlin: 2.3
fun Date.toKotlinInstant(): Instant
Начиная с Kotlin: 1.1
fun toLocaleDateString(locales: Array<String> = definedExternally, options: Date.LocaleOptions = definedExternally): String
fun toLocaleDateString(locales: String, options: Date.LocaleOptions = definedExternally): String
Начиная с Kotlin: 1.1
fun toLocaleString(locales: Array<String> = definedExternally, options: Date.LocaleOptions = definedExternally): String
fun toLocaleString(locales: String, options: Date.LocaleOptions = definedExternally): String
Начиная с Kotlin: 1.1
fun toLocaleTimeString(locales: Array<String> = definedExternally, options: Date.LocaleOptions = definedExternally): String
fun toLocaleTimeString(locales: String, options: Date.LocaleOptions = definedExternally): String
Начиная с Kotlin: 1.1
fun toTimeString(): String
Начиная с Kotlin: 1.1
fun toUTCString(): String
© 2010–2026 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.js/-date/index.html