When having a time series with exceptions, that have the ThisAndFurute argument,
we need also to take this into account if we calucate the iterator for occurences
for a timespan, that begins after the exception has started.
Details
Details
Diff Detail
Diff Detail
- Repository
- rKPL kdepimlibs
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
kcalcore/occurrenceiterator.cpp | ||
---|---|---|
112 | lastInc and lastOffset seem to be unused? |
kcalcore/occurrenceiterator.cpp | ||
---|---|---|
112 | No lastInc and lastOffset are used later on in the next for loop ( l151, l162). So we can move the two variables back to ther further position. But on the other side lastOffset and lastInc are used internally in the for loop and only need to valid if resetIncidence is True. IMO I think just leave it like i did now, because otherwise we would mix cleanup & patching. |