ISO8601d: Added ::operator<
This commit is contained in:
@@ -1061,6 +1061,12 @@ bool ISO8601d::operator!= (const ISO8601d& rhs) const
|
||||
return rhs._date != _date;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool ISO8601d::operator< (const ISO8601d& rhs) const
|
||||
{
|
||||
return _date < rhs._date;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void ISO8601p::clear ()
|
||||
{
|
||||
|
||||
@@ -67,6 +67,7 @@ public:
|
||||
|
||||
bool operator== (const ISO8601d&) const;
|
||||
bool operator!= (const ISO8601d&) const;
|
||||
bool operator< (const ISO8601d&) const;
|
||||
|
||||
private:
|
||||
void clear ();
|
||||
|
||||
Reference in New Issue
Block a user