DurationFormat class

@author shaw @date 2021/4/12 @desc format of DateTime

Constructors

DurationFormat({String? year, String? yearSuffix = "Year", String? month, String? monthSuffix = "Mon", String? day, String? daySuffix = "Day", String? hour, String? hourSuffix = ":", String? minute, String? minuteSuffix = ":", String? second, String? secondSuffix})
const

Properties

day String?
final
daySuffix String?
final
hashCode int
The hash code for this object.
no setterinherited
hour String?
final
hourSuffix String?
final
minute String?
final
minuteSuffix String?
final
month String?
final
monthSuffix String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second String?
final
secondSuffix String?
final
showDay bool
no setter
showDaySuffix bool
no setter
showHour bool
no setter
showHourSuffix bool
no setter
showMinute bool
no setter
showMinuteSuffix bool
no setter
showMonth bool
no setter
showMonthSuffix bool
no setter
showSecond bool
no setter
showSecondSuffix bool
no setter
showYear bool
no setter
showYearSuffix bool
no setter
year String?
final
yearSuffix String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sameFormatWith(DurationFormat? another) bool
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited