ISO8601d: Added ::sameMonth
This commit is contained in:
@@ -1109,6 +1109,13 @@ bool ISO8601d::sameWeek (const ISO8601d& rhs) const
|
||||
this->week () == rhs.week ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool ISO8601d::sameMonth (const ISO8601d& rhs) const
|
||||
{
|
||||
return this->year () == rhs.year () &&
|
||||
this->month () == rhs.month ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
void ISO8601p::clear ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user