Homec4science

Implement BYSETPOS for YEARLY and MONTHLY RRULES

Authored by epriestley <git@epriestley.com> on Sep 28 2016, 04:12.

Description

Implement BYSETPOS for YEARLY and MONTHLY RRULES

Summary:
Ref T10747. I may come back and try to clean this up, but at least make all the tests pass.

This stuff is really messy because if you have a YEARLY rule like "the 3rd of every month", and BYSETPOS on it, and the first instance is in June, too bad: we have to build every event for the whole year to apply BYSETPOS.

Test Plan: Unit tests now pass.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10747

Differential Revision: https://secure.phabricator.com/D16617

Details

Committed
epriestley <git@epriestley.com>Sep 28 2016, 14:37
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU16cb15ae0c22: Add many working RRULE test cases
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU1a5bbe5971cc: Implement BYSETPOS for YEARLY and MONTHLY RRULES (authored by epriestley <git@epriestley.com>).Sep 28 2016, 14:37