flexible_date library Null safety

Classes

FlexiDate
FlexiDateData
A flexible container for date components that provides a robust parsing/building mechanism. If the input type is known to be a String, Map or DateTime, then use the corresponding constructors.
InvalidFlexiDate
Represents a date that's couldn't be parsed.

Extensions

DateComponentsComparisons
FlexiDateExt

Constants

kday → const String
'day'
kmonth → const String
'month'
kyear → const String
'year'

Functions

hasTime(DateTime time) bool
isFuture(DateTime? time) bool
isPast(DateTime? time) bool
withoutTime(DateTime time) DateTime