X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b236c10f77e9ed0bc3c16d1cceb4a62f7048b4f9..ab9d0a8ca3d306898d92960ecfaefb8c1191b18a:/docs/latex/wx/datetime.tex diff --git a/docs/latex/wx/datetime.tex b/docs/latex/wx/datetime.tex index a9bff2b6b1..968a2ba3fe 100644 --- a/docs/latex/wx/datetime.tex +++ b/docs/latex/wx/datetime.tex @@ -298,7 +298,7 @@ added to wxDateTime, hence all functions are overloaded to accept both arguments. Also, both {\tt Add()} and {\tt Subtract()} have both const and non-const -version. The first one returns a new obejct which represents the +version. The first one returns a new object which represents the sum/difference of the original one with the argument while the second form modifies the object to which it is applied. The operators $-=$ and $+=$ are defined to be equivalent to the second forms of these functions. @@ -316,7 +316,7 @@ defined to be equivalent to the second forms of these functions. \membersection{Parsing and formatting dates}\label{datetimeparsing} -These functions convert wxDateTime obejcts to and from text. The +These functions convert wxDateTime objects to and from text. The conversions to text are mostly trivial: you can either do it using the default date and time representations for the current locale ( \helpref{FormatDate}{wxdatetimeformatdate} and @@ -536,6 +536,20 @@ The only supported value for {\it cal} parameter is currently {\tt Gregorian}. and {\tt GetNumberOfDaysInMonth} in wxPython.} +\membersection{wxDateTime::GetTimeNow}\label{wxdatetimegettimenow} + +\func{static time\_t}{GetTimeNow}{\void} + +Returns the current time. + + +\membersection{wxDateTime::GetTmNow}\label{wxdatetimegettmnow} + +\func{static struct tm *}{GetTmNow}{\void} + +Returns the current time broken down. + + \membersection{wxDateTime::GetWeekDayName}\label{wxdatetimegetweekdayname} \func{static wxString}{GetWeekDayName}{\param{WeekDay }{weekday}, \param{NameFlags }{flags = Name\_Full}}