Add GetDateOnly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-01-18 19:10:43 +00:00
parent 627ddac99e
commit 6a6c9417a8
7 changed files with 103 additions and 0 deletions

View File

@@ -464,6 +464,10 @@ public:
// resets time to 00:00:00, doesn't change the date
wxDateTime& ResetTime();
// get the date part of this object only, i.e. the object which has the
// same date as this one but time of 00:00:00
wxDateTime GetDateOnly() const;
// the following functions don't change the values of the other
// fields, i.e. SetMinute() won't change either hour or seconds value