pub fn parse_date(s: &str) -> Option<i64>Expand description
Parses every date string form MarsDB supports: the plain calendar
forms YYYY-MM-DD/YYYYMMDD/YYYY-MM/YYYYMM/YYYY (missing
month/day default to 1), ISO week-date YYYY-Www[-D]/YYYYWww[D]
(missing day defaults to 1), ordinal-date YYYY-DDD/YYYYDDD
(see parse_week_or_ordinal_date), and ISO 8601 expanded years –
an explicit leading sign with up to 9 year digits
('-999999999-01-01', '+999999999-12-31', TCK Temporal10
[9]/[10]). The sign is stripped here and applied to whichever year
field the body then parses (calendar, week, or ordinal alike).