NSDateTimestamp

class NSDateTimestamp(val date: <Error class: unknown class>) : Timestamp(source)

基于 NSDate 的 Timestamp 实现。

See also

Constructors

Link copied to clipboard
constructor(date: <Error class: unknown class>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val date: <Error class: unknown class>
Link copied to clipboard
open override val milliseconds: Long

得到 date 对应的 epoch 毫秒时间戳。

Functions

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

Inherited functions

Link copied to clipboard
open infix fun timeAs(unit: TimeUnit): Long