Enhancement - Date::toISO

- Added ISO date format support (19980119T070000Z) to Date class, for use
  in export.ical.
- Added unit test.
This commit is contained in:
Paul Beckingham 2010-05-31 13:18:41 -04:00
parent 8cd8c4753b
commit 3ef6aa9f8e
3 changed files with 25 additions and 1 deletions

View file

@ -47,6 +47,7 @@ public:
void toEpoch (time_t&);
time_t toEpoch ();
std::string toEpochString ();
std::string toISO ();
void toMDY (int&, int&, int&);
const std::string toString (const std::string& format = "m/d/Y") const;
const std::string toStringWithTime (const std::string& format = "m/d/Y") const;