any_date library
A package to parse date in any format with minimum dependencies.
Classes
- AnyDate
- main class, containing most DateTime utils
- DateParserInfo
- Configuration for the parser
- Month
- A month, with its number and name. It seems far fetched to have this class, but it follows a similar approach to the Python dateutil package, without relying on a list index. See: https://dateutil.readthedocs.io/en/stable/_modules/dateutil/parser/_parser.html
- Weekday
- A weekday with its number and name Must match DateTime.weekday; Reason for this is the same as for Month
Typedefs
- DateParsingFunction = DateTime? Function(String params)
- A function that takes a String and tries to convert to a DateTime object.