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
Constants
- full → const String
- h_m → const String
- h_m_s → const String
- mo_d → const String
- mo_d_h_m → const String
- y_mo → const String
- y_mo_d → const String
- y_mo_d_h_m → const String
- zh_full → const String
- zh_h_m → const String
- zh_h_m_s → const String
- zh_mo_d → const String
- zh_mo_d_h_m → const String
- zh_y_mo → const String
- zh_y_mo_d → const String
- zh_y_mo_d_h_m → const String