InstantTimestamp

基于 InstantTimestamp 实现。

Author

ForteScarlet

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val milliseconds: Long

毫秒级时间戳结果。

Functions

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 infix override fun timeAs(unit: TimeUnit): Long

将时间戳时间转化为指定单位的结果。

Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
open operator override fun compareTo(other: Timestamp): Int

默认情况下,Timestamp 通过 milliseconds 进行顺序比较。