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