fn split_interval_components(value: &str) -> Vec<(&str, Option<&str>)>
Expand description
Split an interval into a vec of amounts and units.
Pairs are separated by spaces, but within a pair the amount and unit may or may not be separated by a space.
This should match the behavior of PostgreSQL’s interval parser.