ISO8601d: Added ::operator==

This commit is contained in:
Paul Beckingham 2015-09-26 14:51:46 -04:00
parent ff320345e9
commit 90ac0e2b17
2 changed files with 8 additions and 0 deletions

View file

@ -1049,6 +1049,12 @@ int ISO8601d::second () const
return t->tm_sec;
}
////////////////////////////////////////////////////////////////////////////////
bool ISO8601d::operator== (const ISO8601d& rhs) const
{
return rhs._date == _date;
}
////////////////////////////////////////////////////////////////////////////////
void ISO8601p::clear ()
{