Skip to main content

validate

Function validate 

Source
pub fn validate(rule: &str) -> Result<(), RecurrenceError>
Expand description

Validate an RRULE body string. Returns Ok(()) when the rule parses and builds, otherwise a RecurrenceError describing the problem.