Page MenuHomePhabricator

Implement BYSETPOS for YEARLY and MONTHLY RRULES
ClosedPublic

Authored by epriestley on Sep 28 2016, 2:18 AM.
Tags
None
Referenced Files
F13130398: D16617.diff
Wed, May 1, 8:53 AM
Unknown Object (File)
Fri, Apr 26, 2:34 AM
Unknown Object (File)
Fri, Apr 26, 2:34 AM
Unknown Object (File)
Fri, Apr 26, 2:34 AM
Unknown Object (File)
Thu, Apr 25, 1:00 AM
Unknown Object (File)
Tue, Apr 23, 12:24 AM
Unknown Object (File)
Fri, Apr 19, 5:22 PM
Unknown Object (File)
Thu, Apr 18, 2:17 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rPHU libphutil
Branch
cal15
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13880
Build 17968: Run Core Tests
Build 17967: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Implement BYSETPOS for YEARLY and MONTHLY RRULES.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 28 2016, 2:27 AM
This revision was automatically updated to reflect the committed changes.