ISO8601d: Added ::operator-

This commit is contained in:
Paul Beckingham
2015-09-26 15:38:25 -04:00
parent c095289208
commit ed2cf991f3
2 changed files with 7 additions and 0 deletions

View File

@@ -1135,6 +1135,12 @@ ISO8601d ISO8601d::operator+ (const int delta)
return ISO8601d (_date + delta);
}
////////////////////////////////////////////////////////////////////////////////
ISO8601d ISO8601d::operator- (const int delta)
{
return ISO8601d (_date - delta);
}
////////////////////////////////////////////////////////////////////////////////
void ISO8601p::clear ()
{