Dates
- Added Date::startof{Day,Week,Month,Year} methods to facilitate the
history, ghistory and burndown charts.
This commit is contained in:
@@ -50,6 +50,12 @@ public:
|
||||
std::string toISO ();
|
||||
void toMDY (int&, int&, int&);
|
||||
const std::string toString (const std::string& format = "m/d/Y") const;
|
||||
|
||||
Date startOfDay () const;
|
||||
Date startOfWeek () const;
|
||||
Date startOfMonth () const;
|
||||
Date startOfYear () const;
|
||||
|
||||
static bool valid (const std::string&, const std::string& format = "m/d/Y");
|
||||
static bool valid (const int, const int, const int, const int, const int, const int);
|
||||
static bool valid (const int, const int, const int);
|
||||
|
||||
Reference in New Issue
Block a user