date_time_format library Null safety

Utilities for formatting Dart's DateTime object using standard date/time notation or as a relative time offset.

Classes

AmericanDateFormats
American date formatting notation constants.
AmericanDateTimeFormats
American date/time formatting notation constants.
DateFormats
Commonly used American and European date formatting notation constants. [...]
DateTimeFormat
A utility class for formatting DateTimes.
DateTimeFormats
Commonly used date/time formatting notation constants.
EuropeanDateFormats
European date formatting notation constants.
EuropeanDateTimeFormats
European date/time formatting notation constants.
TimeFormats
Time formatting notation constants.

Extensions

DateTimeFormatter
Adds DateTimeFormat's format and relative methods to the DateTime class.

Enums

UnitOfTime
The different intervals of time that can be counted by the DateTimeFormat.relative method.