Feature request: combining multiple RRULEs
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
The issue names no files, tests, or entry points. Start by locating the library's RRULE parsing and expansion API, then examine how enumerators are built; done means multiple RRULE properties can be combined while yielding distinct timestamps, with coverage for the payroll example.
Written by the indexing model from the issue text.
Description
Many calendar implementations support multiple RRULE properties. This is so that repetition rules that aren't possible to specify with one RRULE can be applied to an event.
For example, consider "Payroll is due twice a month, on the last weekday on or before the 15th and on the last weekday of the month".
A set of RRULE properties would look like this:
RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYMONTHDAY=13,14,15;BYSETPOS=-1
RRULE:FREQ=MONTHLY;BYDAY=MO,TU,WE,TH,FR;BYSETPOS=-1
It would be awesome if the library supported combining multiple RRULE properties and returning a enumerator with the distinct timestamps generated by them. (One way to do this could be through operators that can add and subtract.)
- Dominant language
- Ruby
- Stars
- 186
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from square/ruby-rrule
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
square/ruby-rrule#74 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
square/ruby-rrule#70 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
square/ruby-rrule#65 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
square/ruby-rrule#64 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
square/ruby-rrule#62 ·
All issues in square/ruby-rrule
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
notch8/utk_knapsack#148 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Homebrew/homebrew-cask#288729 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100