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