mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
ISO8601d: Added ::sameYear
This commit is contained in:
parent
04836c2cec
commit
79f030b199
2 changed files with 7 additions and 0 deletions
|
@ -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 ()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue