Function mz_repr::strconv::parse_interval_w_disambiguator
source ยท pub fn parse_interval_w_disambiguator(
s: &str,
leading_time_precision: Option<DateTimeField>,
d: DateTimeField,
) -> Result<Interval, ParseError>
Expand description
Parse an interval string, using an optional leading precision for time (H:M:S) and a specific mz_sql_parser::ast::DateTimeField to identify ambiguous elements. For more information about this operation, see the documentation on ParsedDateTime::build_parsed_datetime_interval.