Enhancement - Date::operator-

- Implemented Date::operator-, to allow subtractions of Durations.
This commit is contained in:
Paul Beckingham
2010-07-25 22:02:41 -04:00
parent 031c4c484d
commit cb4fe4fffb
3 changed files with 10 additions and 2 deletions

View File

@@ -314,6 +314,8 @@ int main (int argc, char** argv)
Date r16 ("6/7/2010 00:59:59", "m/d/Y H:N:S");
t.notok (r14.sameHour (r16), "two dates not within the same hour");
// TODO Date::operator-
}
catch (std::string& e)