Skip to content

sdq/rrule.swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages