X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/154b6b0f0eda0007d7ffbbfacff7e57c5861c28b..034ad06337f97ffa3742fd8d9a8df2a4e9d5ed4a:/docs/latex/wx/datetime.tex?ds=sidebyside diff --git a/docs/latex/wx/datetime.tex b/docs/latex/wx/datetime.tex index 5570afae07..6fc226c1d1 100644 --- a/docs/latex/wx/datetime.tex +++ b/docs/latex/wx/datetime.tex @@ -202,7 +202,7 @@ supported. Future versions will support other calendars. \helpref{ConvertYearToBC}{wxdatetimeconvertyeartobc}\\ \helpref{GetCurrentMonth}{wxdatetimegetcurrentmonth}\\ \helpref{IsLeapYear}{wxdatetimeisleapyear}\\ -\helpref{GetCentury}{wxdatetimegetcentury}\\ +\helpref{GetCentury}{wxdatetimegetcenturystatic}\\ \helpref{GetNumberOfDays}{wxdatetimegetnumberofdays}\\ \helpref{GetNumberOfDays}{wxdatetimegetnumberofdays}\\ \helpref{GetMonthName}{wxdatetimegetmonthname}\\ @@ -258,6 +258,7 @@ some more complicated calculations to find the answer are under the \helpref{IsValid}{wxdatetimeisvalid}\\ \helpref{GetTicks}{wxdatetimegetticks}\\ +\helpref{GetCentury}{wxdatetimegetcentury}\\ \helpref{GetYear}{wxdatetimegetyear}\\ \helpref{GetMonth}{wxdatetimegetmonth}\\ \helpref{GetDay}{wxdatetimegetday}\\ @@ -491,9 +492,9 @@ Get the current year in given calendar (only Gregorian is currently supported). Get the current month in given calendar (only Gregorian is currently supported). -\membersection{wxDateTime::GetCentury}\label{wxdatetimegetcentury} +\membersection{wxDateTime::GetCentury}\label{wxdatetimegetcenturystatic} -\func{static int}{GetCentury}{\param{int }{year = Inv\_Year}} +\func{static int}{GetCentury}{\param{int }{year}} Get the current century, i.e. first two digits of the year, in given calendar (only Gregorian is currently supported). @@ -872,6 +873,13 @@ Returns the number of seconds since Jan 1, 1970. An assert failure will occur if the date is not in the range covered by {\tt time\_t} type. +\membersection{wxDateTime::GetCentury}\label{wxdatetimegetcentury} + +\constfunc{int}{GetCentury}{\param{const TimeZone\& }{tz = Local}} + +Returns the century of this date. + + \membersection{wxDateTime::GetYear}\label{wxdatetimegetyear} \constfunc{int}{GetYear}{\param{const TimeZone\& }{tz = Local}}