TimeUtils class

Constructors

TimeUtils()

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

convertTime(int timestamp) String
将 unix 时间戳转换为特定时间文本,如年月日
formatDuration(Duration duration) String
getWeekStr(DateTime value) → dynamic
星期string