flexible_date library

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.

Constants

kday → const String
kmonth → const String
kyear → const String

Functions

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