Skip to content

Latest commit

 

History

History
executable file
·
30 lines (22 loc) · 793 Bytes

README.md

File metadata and controls

executable file
·
30 lines (22 loc) · 793 Bytes

rrule.swift

rrule.swift supports recurrence rules in Swift 4 (No other 3rd-party dependencies).

It is a partial port of the rrule module from the excellent python-dateutil library.

Demo

demo

How to use

Drag rrule.swift into your project.

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.getOccurrences()

To do

  • Hourly
  • Minutely
  • Secondly

Author

sdq

License

MIT