recurrence rules in swift (based on SwiftDate)
let rule = rule(frequency, dtstart: dtstart, until: until, count: count, interval: interval, wkst: wkst, bysetpos: bysetpos, bymonth: bymonth, bymonthday: bymonthday, byyearday: byyearday, byweekno: byweekno, byweekday: byweekday)
let occurrences = rule.getOccurencegetOccurrences
- Hourly
- Minutely
- Secondly