TimelineUtil class

TimelineUtil

Constructors

TimelineUtil()

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

format(int ms, {int? locTimeMs, String? locale, DayFormat? dayFormat}) String
format time by millis. dateTime : millis. locDateTime: current time or schedule time. millis. locale: output key.
formatA(int ms, {int? locMs, String formatToday = 'HH:mm', String format = 'yyyy-MM-dd', String languageCode = 'en', bool short = false}) String
Timeline like QQ.
formatByDateTime(DateTime dateTime, {DateTime? locDateTime, String? locale, DayFormat? dayFormat}) String
format time by DateTime. dateTime locDateTime: current time or schedule time. locale: output key.