toggle menu
Simple Robot
4.8.0
apple
switch theme
search in API
simbot-common-core
/
love.forte.simbot.common.time
/
NSDateTimestamp
NSDate
Timestamp
apple
class
NSDateTimestamp
(
val
date
:
<Error class: unknown class>
)
:
Timestamp
(
source
)
基于 NSDate 的
Timestamp
实现。
See also
Timestamp
Members
Constructors
NSDate
Timestamp
Link copied to clipboard
apple
constructor
(
date
:
<Error class: unknown class>
)
Types
Companion
Link copied to clipboard
apple
object
Companion
Properties
date
Link copied to clipboard
apple
val
date
:
<Error class: unknown class>
milliseconds
Link copied to clipboard
apple
open
override
val
milliseconds
:
Long
得到
date
对应的 epoch 毫秒时间戳。
Functions
compare
To
Link copied to clipboard
apple
open
operator override
fun
compareTo
(
other
:
Timestamp
)
:
Int
equals
Link copied to clipboard
apple
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
apple
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
apple
open
override
fun
toString
(
)
:
String
Inherited functions
time
As
Link copied to clipboard
apple
open
infix
fun
timeAs
(
unit
:
TimeUnit
)
:
Long