Skip to main content

system.kanoa.schedule.validateRrule(rruleStr)

Checks a recurrence rule (RRULE) the way rruleToDates reads it. Unknown or malformed parts are reported, not ignored.


Parameters​

rruleStr String: i.e. 'FREQ=MONTHLY;INTERVAL=1;BYWEEKDAY=TU(2)'


Returns​

{'valid': bool, 'error': string or None}


Example​

rruleStr = 'rruleStr'
result = system.kanoa.schedule.validateRrule(rruleStr)