mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
ISO8601d: Added ::opreator<=
This commit is contained in:
parent
e09eee1a59
commit
b7afcb9723
2 changed files with 7 additions and 0 deletions
|
@ -1073,6 +1073,12 @@ bool ISO8601d::operator> (const ISO8601d& rhs) const
|
|||
return _date > rhs._date;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool ISO8601d::operator<= (const ISO8601d& rhs) const
|
||||
{
|
||||
return _date <= rhs._date;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void ISO8601p::clear ()
|
||||
{
|
||||
|
|
|
@ -69,6 +69,7 @@ public:
|
|||
bool operator!= (const ISO8601d&) const;
|
||||
bool operator< (const ISO8601d&) const;
|
||||
bool operator> (const ISO8601d&) const;
|
||||
bool operator<= (const ISO8601d&) const;
|
||||
|
||||
private:
|
||||
void clear ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue