Skip to main content

parse_date_bound

Function parse_date_bound 

Source
pub fn parse_date_bound(raw: &str, end_of_day: bool) -> Option<DateTime<Utc>>
Expand description

Parse a YYYY-MM-DD string into UTC. end_of_day controls whether the resulting instant sits at 00:00 (range start) or 23:59:59 (range end / as-of cutoff).