DateTimestamp

class DateTimestamp(val date: Date) : Timestamp(source)

基于 kotlin.js.DateTimestamp 实现。

Author

ForteScarlet

class DateTimestamp(val date: JsAny) : Timestamp(source)

基于 DateTimestamp 实现。

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(date: Date)
constructor(date: JsAny)

Properties

Link copied to clipboard
val date: Date
val date: JsAny
Link copied to clipboard
open override val milliseconds: Long
open override val milliseconds: Long

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String

Inherited functions

Link copied to clipboard
open operator override fun compareTo(other: Timestamp): Int
open operator override fun compareTo(other: Timestamp): Int
Link copied to clipboard
open infix fun timeAs(unit: TimeUnit): Long
open infix fun timeAs(unit: TimeUnit): Long