ScriptDateTime

interface ScriptDateTime

在脚本中表示时间的接口.

Author

M8Test, [email protected], https://m8test.com

Functions

Link copied to clipboard
abstract fun getDay(): Int

日.

Link copied to clipboard
abstract fun getHour(): Int

时.

Link copied to clipboard
abstract fun getMillis(): Int

毫秒.

Link copied to clipboard
abstract fun getMinute(): Int

分.

Link copied to clipboard
abstract fun getMonth(): Int

月份.

Link copied to clipboard
abstract fun getSecond(): Int

秒.

Link copied to clipboard
abstract fun getTimestamp(): Long

获取时间戳.

Link copied to clipboard
abstract fun getYear(): Int

年份.