ISO8601d: Added ::sameYear

This commit is contained in:
Paul Beckingham 2015-09-26 15:11:58 -04:00
parent 04836c2cec
commit 79f030b199
2 changed files with 7 additions and 0 deletions

View file

@ -1116,6 +1116,12 @@ bool ISO8601d::sameMonth (const ISO8601d& rhs) const
this->month () == rhs.month ();
}
////////////////////////////////////////////////////////////////////////////////
bool ISO8601d::sameYear (const ISO8601d& rhs) const
{
return this->year () == rhs.year ();
}
////////////////////////////////////////////////////////////////////////////////
void ISO8601p::clear ()
{