Simple Robot
Toggle table of contents
4.11.0
common
Platform filter
common
Switch theme
Search in API
Simple Robot
simbot-common-core
/
love.forte.simbot.common.time
/
Timestamp
/
Companion
Companion
object
Companion
(
source
)
Members
Functions
now
Link copied to clipboard
@
JvmStatic
@
ExperimentalSimbotAPI
fun
now
(
)
:
Timestamp
得到一个记录了当前时间戳信息的
Timestamp
实例。
of
Milliseconds
Link copied to clipboard
@
JvmStatic
fun
ofMilliseconds
(
milliseconds
:
Long
)
:
Timestamp
通过毫秒值得到一个
Timestamp
。