ISO8601d: Added ::operator!=

This commit is contained in:
Paul Beckingham 2015-09-26 14:54:34 -04:00
parent 90ac0e2b17
commit 7a996dfadf
2 changed files with 7 additions and 0 deletions

View file

@ -1055,6 +1055,12 @@ bool ISO8601d::operator== (const ISO8601d& rhs) const
return rhs._date == _date;
}
////////////////////////////////////////////////////////////////////////////////
bool ISO8601d::operator!= (const ISO8601d& rhs) const
{
return rhs._date != _date;
}
////////////////////////////////////////////////////////////////////////////////
void ISO8601p::clear ()
{

View file

@ -66,6 +66,7 @@ public:
int second () const;
bool operator== (const ISO8601d&) const;
bool operator!= (const ISO8601d&) const;
private:
void clear ();