ISO8601d: Added ::operator>=

This commit is contained in:
Paul Beckingham 2015-09-26 15:01:29 -04:00
parent b7afcb9723
commit fe509cd3dd
2 changed files with 7 additions and 0 deletions

View file

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

View file

@ -70,6 +70,7 @@ public:
bool operator< (const ISO8601d&) const; bool operator< (const ISO8601d&) const;
bool operator> (const ISO8601d&) const; bool operator> (const ISO8601d&) const;
bool operator<= (const ISO8601d&) const; bool operator<= (const ISO8601d&) const;
bool operator>= (const ISO8601d&) const;
private: private:
void clear (); void clear ();