Sdq Rrule.swift Save

recurrence rules for calendar dates in Swift.

Project README

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

Open Source Agenda is not affiliated with "Sdq Rrule.swift" Project. README Source: sdq/rrule.swift
Stars
45
Open Issues
3
Last Commit
5 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating