X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b236c10f77e9ed0bc3c16d1cceb4a62f7048b4f9..4116fac052b9b6f7963b4acf2721a24075692454:/docs/latex/wx/datetime.tex?ds=sidebyside diff --git a/docs/latex/wx/datetime.tex b/docs/latex/wx/datetime.tex index a9bff2b6b1..57ecb54df6 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 @@ -404,7 +404,7 @@ provided. You can construct a wxDateTime object from a \membersection{Time zone and DST support}\label{datetimedstzone} Please see the \helpref{time zone overview}{tdatetimezones} for more -information about time zones. ormally, these functions should be rarely used. +information about time zones. Normally, these functions should be rarely used. \helpref{ToTimezone}{wxdatetimetotimezone}\\ \helpref{MakeTimezone}{wxdatetimemaketimezone}\\ @@ -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}}