StringTime class
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
-
dateTimeFormat(
String date) → String - 根据字符串, 日期格式化(2023-5-19 21:14:33)
-
getNowMillisecond(
) → String - 时间戳毫秒
-
getTimeFormat(
String second) → String - 时间戳转日期2023-5-19 21:14:33
-
getTimeFromMillisecond(
String milliseconds) → String -
point(
String str) → String - 判断时间是否为一位数,补全0