Skip to main content

check

Function check 

Source
pub fn check(expression: &str, zone: Option<&str>) -> Result<(), String>
Expand description

Read expression as a calendar expression, and zone as an IANA name where one was written.

ยงErrors

The reason, ready to be quoted into a refusal by the front end that holds the span. A parse refusal carries the expression with the offending run under a caret; the two rules this module owns say themselves.