X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7cfeba96366ea7b2fbaa9dcc36c2d29410c1f..146ba0feacf1222ec8a45dfd69dae77b063bf2cf:/docs/latex/wx/datetime.tex diff --git a/docs/latex/wx/datetime.tex b/docs/latex/wx/datetime.tex index ed7d98cc68..844bceca10 100644 --- a/docs/latex/wx/datetime.tex +++ b/docs/latex/wx/datetime.tex @@ -145,7 +145,7 @@ values as parameter: }; \end{verbatim} -Differnet parst of the world use different conventions for the week start. +Different parst of the world use different conventions for the week start. In some countries, the week starts on Sunday, while in others - on Monday. The ISO standard doesn't address this issue, so we support both conventions in the functions whose result depends on it (\helpref{GetWeekOfYear}{wxdatetimegetweekofyear} and @@ -174,8 +174,8 @@ No base class \wxheading{See also} \helpref{Date classes overview}{wxdatetimeoverview},\rtfsp -wxTimeSpan,\rtfsp -wxDateSpan,\rtfsp +\helpref{wxTimeSpan}{wxtimespan},\rtfsp +\helpref{wxDateSpan}{wxdatespan},\rtfsp \helpref{wxCalendarCtrl}{wxcalendarctrl} \latexignore{\rtfignore{\wxheading{Function groups}}} @@ -192,7 +192,7 @@ parameter, it is currently ignored as only the Gregorian calendar is supported. Future versions will support other calendars. \pythonnote{These methods are standalone functions named -{\tt wxDateTime_} in wxPython.} +{\tt wxDateTime\_} in wxPython.} \helpref{SetCountry}{wxdatetimesetcountry}\\ \helpref{GetCountry}{wxdatetimegetcountry}\\ @@ -650,7 +650,8 @@ Same as \helpref{Set}{wxdatetimewxdatetimetime} \membersection{wxDateTime::wxDateTime}\label{wxdatetimewxdatetimedate} -\func{wxDateTime\&}{wxDateTime}{\param{wxDateTime\_t }{day}, \param{Month }{month = Inv\_Month}, \param{wxDateTime\_t }{hour = 0}, \param{wxDateTime\_t }{minute = 0}, \param{wxDateTime\_t }{second = 0}, \param{wxDateTime\_t }{millisec = 0}} +\func{wxDateTime\&}{wxDateTime}{\param{wxDateTime\_t }{day}, \param{Month }{month = Inv\_Month}, \param{int}{ Inv\_Year}, +\param{wxDateTime\_t }{hour = 0}, \param{wxDateTime\_t }{minute = 0}, \param{wxDateTime\_t }{second = 0}, \param{wxDateTime\_t }{millisec = 0}} Same as \helpref{Set}{wxdatetimesetdate} @@ -658,7 +659,7 @@ Same as \helpref{Set}{wxdatetimesetdate} \membersection{wxDateTime::SetToCurrent}\label{wxdatetimesettocurrent} -\func{wxDateTime&}{SetToCurrent}{\void} +\func{wxDateTime\&}{SetToCurrent}{\void} Sets the date and time of to the current values. Same as assigning the result of \helpref{Now()}{wxdatetimenow} to this object. @@ -705,7 +706,7 @@ from supplied parameters. \membersection{wxDateTime::Set}\label{wxdatetimesetdate} -\func{wxDateTime\&}{Set}{\param{wxDateTime\_t }{day}, \param{Month }{month = Inv\_Month}, \param{wxDateTime\_t }{hour = 0}, \param{wxDateTime\_t }{minute = 0}, \param{wxDateTime\_t }{second = 0}, \param{wxDateTime\_t }{millisec = 0}} +\func{wxDateTime\&}{Set}{\param{wxDateTime\_t }{day}, \param{Month }{month = Inv\_Month}, \param{int }{year = Inv\_Year}, \param{wxDateTime\_t }{hour = 0}, \param{wxDateTime\_t }{minute = 0}, \param{wxDateTime\_t }{second = 0}, \param{wxDateTime\_t }{millisec = 0}} Sets the date and time from the parameters. @@ -884,25 +885,25 @@ calculations make sense for it). \membersection{wxDateTime::IsEqualTo}\label{wxdatetimeisequalto} -\constfunc{bool}{IsEqualTo}{\param{const wxDateTime& }{datetime}} +\constfunc{bool}{IsEqualTo}{\param{const wxDateTime\& }{datetime}} Returns {\tt TRUE} if the two dates are strictly identical. \membersection{wxDateTime::IsEarlierThan}\label{wxdatetimeisearlierthan} -\constfunc{bool}{IsEarlierThan}{\param{const wxDateTime& }{datetime}} +\constfunc{bool}{IsEarlierThan}{\param{const wxDateTime\& }{datetime}} Returns {\tt TRUE} if this date precedes the given one. \membersection{wxDateTime::IsLaterThan}\label{wxdatetimeislaterthan} -\constfunc{bool}{IsLaterThan}{\param{const wxDateTime& }{datetime}} +\constfunc{bool}{IsLaterThan}{\param{const wxDateTime\& }{datetime}} Returns {\tt TRUE} if this date is later than the given one. \membersection{wxDateTime::IsStrictlyBetween}\label{wxdatetimeisstrictlybetween} -\constfunc{bool}{IsStrictlyBetween}{\param{const wxDateTime& }{t1}, \param{const wxDateTime& }{t2}} +\constfunc{bool}{IsStrictlyBetween}{\param{const wxDateTime\& }{t1}, \param{const wxDateTime\& }{t2}} Returns {\tt TRUE} if this date lies strictly between the two others, @@ -912,7 +913,7 @@ Returns {\tt TRUE} if this date lies strictly between the two others, \membersection{wxDateTime::IsBetween}\label{wxdatetimeisbetween} -\constfunc{bool}{IsBetween}{\param{const wxDateTime& }{t1}, \param{const wxDateTime& }{t2}} +\constfunc{bool}{IsBetween}{\param{const wxDateTime\& }{t1}, \param{const wxDateTime\& }{t2}} Returns {\tt TRUE} if \helpref{IsStrictlyBetween}{wxdatetimeisstrictlybetween} is {\tt TRUE} or if the date is equal to one of the limi values. @@ -923,13 +924,13 @@ is {\tt TRUE} or if the date is equal to one of the limi values. \membersection{wxDateTime::IsSameDate}\label{wxdatetimeissamedate} -\constfunc{bool}{IsSameDate}{\param{const wxDateTime& }{dt}} +\constfunc{bool}{IsSameDate}{\param{const wxDateTime\& }{dt}} Returns {\tt TRUE} if the date is the same without comparing the time parts. \membersection{wxDateTime::IsSameTime}\label{wxdatetimeissametime} -\constfunc{bool}{IsSameTime}{\param{const wxDateTime& }{dt}} +\constfunc{bool}{IsSameTime}{\param{const wxDateTime\& }{dt}} Returns {\tt TRUE} if the time is the same (although dates may differ).