Project

General

Profile

Actions

Bug #3533

closed

RepetitiveInterval "less" operator is not implemented correctly.

Added by Yingdi Yu about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
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...


Related issues 1 (0 open1 closed)

Blocks NAC - Bug #3279: Schedule doesn't encode RepetitiveInterval in ascending orderClosedYingdi Yu10/20/2015

Actions
Actions #1

Updated by Yingdi Yu about 8 years ago

  • Assignee set to Yingdi Yu
Actions #2

Updated by Yingdi Yu about 8 years ago

  • Blocks Bug #3279: Schedule doesn't encode RepetitiveInterval in ascending order added
Actions #3

Updated by Yingdi Yu about 8 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 80
Actions #4

Updated by Yingdi Yu about 8 years ago

  • Status changed from Code review to Closed
  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF