DateFormats class
一些常用格式参照。可以自定义格式,例如:'yyyy/MM/dd HH:mm:ss','yyyy/M/d HH:mm:ss'。 格式要求 year -> yyyy/yy month -> MM/M day -> dd/d hour -> HH/H minute -> mm/m second -> ss/s
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 Properties
- full ↔ String
-
getter/setter pair
- h_m ↔ String
-
getter/setter pair
- h_m_s ↔ String
-
getter/setter pair
- mo_d ↔ String
-
getter/setter pair
- mo_d_h_m ↔ String
-
getter/setter pair
- y_mo ↔ String
-
getter/setter pair
- y_mo_d ↔ String
-
getter/setter pair
- y_mo_d_h_m ↔ String
-
getter/setter pair
- zh_full ↔ String
-
getter/setter pair
- zh_h_m ↔ String
-
getter/setter pair
- zh_h_m_s ↔ String
-
getter/setter pair
- zh_mo_d ↔ String
-
getter/setter pair
- zh_mo_d_h_m ↔ String
-
getter/setter pair
- zh_y_mo ↔ String
-
getter/setter pair
- zh_y_mo_d ↔ String
-
getter/setter pair
- zh_y_mo_d_h_m ↔ String
-
getter/setter pair