Actions
Bug #3533
closedRepetitiveInterval "less" operator is not implemented correctly.
Start date:
03/09/2016
Due date:
% Done:
100%
Estimated time:
Description
How to reproduce
RepetitiveInterval interval1(from_iso_string("20150825T000000"),
from_iso_string("20150828T000000"),
5, 10, 2, RepetitiveInterval::RepeatUnit::DAY);
RepetitiveInterval interval2(from_iso_string("20150825T000000"),
from_iso_string("20150828T000000"),
6, 8, 1, RepetitiveInterval::RepeatUnit::DAY);
RepetitiveInterval interval4(from_iso_string("20150825T000000"),
from_iso_string("20150825T000000"),
4, 7);
BOOST_CHECK(interval2 < interval1);
BOOST_CHECK(interval1 < interval2);
Both check pass...
Actions