Bug Fix - due date, colorization

- Fixed bug that caused colorization to be way, way off.  Silly
  mistake.
- Fixed bug whereby due dates and durations were stored as-is, but
  should have been converted.
- On a related note, added Date::toEpochString,
  Duration::operator (std::string).
This commit is contained in:
Paul Beckingham
2009-06-17 22:52:04 -04:00
parent f701f10234
commit 7e2da42f40
9 changed files with 57 additions and 45 deletions

View File

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