TalkerDateTimeFormatter class

Utility class for DateTime formatting.

Constructors

TalkerDateTimeFormatter(DateTime date, {TimeFormat? timeFormat = TimeFormat.timeAndSeconds})
Constructs a TalkerDateTimeFormatter with the given date.
const

Properties

date → DateTime
The DateTime object to be formatted.
final
format → String
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeAndSeconds → String
Returns a string representation of the time and seconds. Format: 'HH:mm:s ms'
no setter
timeFormat → TimeFormat?
The TimeFormat to be used for formatting.
final
yearMonthDayAndTime → String
Returns a string representation of the year, month, day, and time. Format: 'YYYY-MM-DD HH:mm:s ms'
no setter

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