mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Enhancement - Date::operator-
- Implemented Date::operator-, to allow subtractions of Durations.
This commit is contained in:
parent
031c4c484d
commit
cb4fe4fffb
3 changed files with 10 additions and 2 deletions
|
@ -85,6 +85,7 @@ public:
|
|||
bool sameYear (const Date&);
|
||||
|
||||
Date operator+ (const int);
|
||||
Date operator- (const int);
|
||||
Date& operator+= (const int);
|
||||
Date& operator-= (const int);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue