Skip to main content

expected_sql_standard_interval_tokens

Function expected_sql_standard_interval_tokens 

Source
fn expected_sql_standard_interval_tokens(
    from: DateTimeField,
) -> &'static [TimeStrToken]
Expand description

Get the expected TimeStrTokens to parse TimePartFormat::SqlStandard parts, starting from some DateTimeField. Delim tokens are never actually included in the output, but are illustrative of what the expected input of SQL Standard interval values looks like.