calendar: More fixes with exceptions when not repeating
The fixes from !630 were not enough, exceptions set on days were calendar did not repeat were also confusing other exceptions after this.
Simplify implementation a lot, instead of keeping track of the next exception date, start by building a set of all exceptions dates and use membership of this set as a criterion to skip exceptions.
The changes were merged into master. The source branch has been removed.
@seb I'm going to merge this, https://nexedi.erp5.net/test_result_module/20200124-64EB961D seems same as https://nexedi.erp5.net/test_result_module/20200123-493124A8 . Our project test suite is also OK.
The implementation is much simpler now, just build a set of exceptions dates and then lookup in this set. Since there should not be too many exceptions days and looking up in a set is cheap, I don't think it makes any bad impact on performance.
mergedToggle commit list