DayFormat enum

(xx)Configurable output. (xx)为可配置输出.

Inheritance
Available extensions

Values

Simple → const DayFormat

(less than 10s->just now)、x minutes、x hours、(Yesterday)、x days. (小于10s->刚刚)、x分钟、x小时、(昨天)、x天.

Common → const DayFormat

(less than 10s->just now)、x minutes、x hours、This year:(Yesterday/a day ago)、(two days age)、MM-dd past years: yyyy-MM-dd (小于10s->刚刚)、x分钟、x小时、今年: (昨天/1天前)、(2天前)、MM-dd,往年: yyyy-MM-dd.

Full → const DayFormat

日期 + HH:mm (less than 10s->just now)、x minutes、x hours、This year:(Yesterday HH:mm/a day ago)、(two days age)、MM-dd HH:mmpast years: yyyy-MM-dd HH:mm 小于10s->刚刚)、x分钟、x小时、今年: (昨天 HH:mm/1天前)、(2天前)、MM-dd HH:mm,往年: yyyy-MM-dd HH:mm.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<DayFormat>
A constant List of the values in this enum, in order of their declaration.