Recur: Migrated recurrence from Date to ISO8601d

- Changed signature of recur functions, which needed a main.h change, which led
  to removing '#include <Date.h>' from main.h, which necessitated adding the
  sam include to various other source files.  Temporarily.
- Added 'ISO8601d ISO8601d::operator+ (time_t)', because of differences from the
  original Date object.
This commit is contained in:
Paul Beckingham
2015-09-30 09:52:09 -04:00
parent 953e1e4cc1
commit 4f156c407c
8 changed files with 44 additions and 35 deletions

View File

@@ -1694,6 +1694,12 @@ bool ISO8601d::sameYear (const ISO8601d& rhs) const
return this->year () == rhs.year ();
}
////////////////////////////////////////////////////////////////////////////////
ISO8601d ISO8601d::operator+ (time_t delta)
{
return ISO8601d (_date + delta);
}
////////////////////////////////////////////////////////////////////////////////
ISO8601d ISO8601d::operator+ (const int delta)
{