sdq / rrule.swift

recurrence rules for calendar dates in Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

recurrence rules for calendar dates in Swift.

License:MIT License


Languages

Language:Swift 100.0%