Timestamp
一个 时间戳 。
通常情况下,second 或 millisecond 得到-1的值,那么就说明此时间戳并不是一个真正的时间戳, 而是一个不被支持的默认值。 通过 Timestamp 你可以直接通过 isSupport 对支持情况进行判断。
Author
ForteScarlet
See also
Types
Functions
Link copied to clipboard
此时间戳是否是一个被支持的真实时间戳。 如果得到false,则代表此时间戳本质上不存在, 且上述 second 和 millisecond 最终结果应为-1。
Properties
Inheritors
Extensions
Link copied to clipboard
将当前时间戳实例转化为 Instant。 如果 Timestamp 满足 isSupport != true,则会得到 Instant.EPOCH。
Link copied to clipboard
是否不支持的 timestamp。等同于 isSupport != true。