time library
Properties
- monthDayFormat → DateFormat
-
The format of a month and day with no time of day.
no setter
- timeFormat → DateFormat
-
The format of a timestamp with no date.
no setter
- weekdayFormat → DateFormat
-
The format of a weekday with no time of day.
no setter
- yearMonthDayFormat → DateFormat
-
The format of the full date with no time of day.
no setter
Functions
-
formatTimeDifference(
DateTime time, {DateTime? now}) → String - Formats a DateTime into the 'X ago' string format.