FnTimeUtils class
FnPanel
时间工具类
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
formatMilliseconds(
int milliseconds) → String - 格式化毫秒为ms或s
-
formatTimestamp(
dynamic timestamp) → String - 格式化时间戳为yyyy-MM-dd HH:mm:ss.sss格式
-
getTimestamp(
) → int - 获取当前时间戳