Simple Robot
Toggle table of contents
5.0.0-Alpha2
common
Target filter
common
Switch theme
Search in API
Skip to content
Simple Robot
simbot-common-time
/
love.forte.simbot.common.time
/
Timestamp
/
Companion
/
toTimestamp
to
Timestamp
@
JvmStatic
@
JvmName
(
name
=
"of"
)
fun
Instant
.
toTimestamp
(
)
:
Timestamp
(
source
)
通过
Instant
得到一个
Timestamp
。
Since
5.0
See also
Standard
Instant
Timestamp