added wxDateTime::SetFrom/GetAsMSWSysTime() (#9161)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -285,6 +285,17 @@ public:
|
||||
wxDateTime_t minute = 0, wxDateTime_t second = 0,
|
||||
wxDateTime_t millisec = 0);
|
||||
|
||||
/**
|
||||
Same as SetFromMSWSysTime.
|
||||
|
||||
@param st
|
||||
Input, Windows SYSTEMTIME reference
|
||||
@since 2.9.0
|
||||
@remarks MSW only
|
||||
*/
|
||||
wxDateTime(const struct _SYSTEMTIME& st);
|
||||
|
||||
|
||||
/**
|
||||
Reset time to midnight (00:00:00) without changing the date.
|
||||
*/
|
||||
@@ -410,6 +421,24 @@ public:
|
||||
*/
|
||||
long unsigned int GetAsDOS() const;
|
||||
|
||||
/**
|
||||
Initialize using the Windows SYSTEMTIME structure.
|
||||
@param st
|
||||
Input, Windows SYSTEMTIME reference
|
||||
@since 2.9.0
|
||||
@remarks MSW only
|
||||
*/
|
||||
wxDateTime& SetFromMSWSysTime(const struct _SYSTEMTIME& st);
|
||||
|
||||
/**
|
||||
Returns the date and time in the Windows SYSTEMTIME format.
|
||||
@param st
|
||||
Output, pointer to Windows SYSTEMTIME
|
||||
@since 2.9.0
|
||||
@remarks MSW only
|
||||
*/
|
||||
void GetAsMSWSysTime(struct _SYSTEMTIME* st) const;
|
||||
|
||||
/**
|
||||
Returns the century of this date.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user