time library

Properties

monthDayFormat ↔ DateFormat
The format of a month and day with no time of day.
getter/setter pair
timeFormat ↔ DateFormat
The format of a timestamp with no date.
getter/setter pair
weekdayFormat ↔ DateFormat
The format of a weekday with no time of day.
getter/setter pair
yearMonthDayFormat ↔ DateFormat
The format of the full date with no time of day.
getter/setter pair

Functions

formatTimeDifference(DateTime time, {DateTime? now}) String
Formats a DateTime into the 'X ago' string format.