|
|
|
@@ -91,7 +91,7 @@ Month names: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec and
|
|
|
|
|
Inv\_Month for an invalid.month value are the values of {\tt wxDateTime::Month}
|
|
|
|
|
enum.
|
|
|
|
|
|
|
|
|
|
Likely, Sun, Mon, Tue, Wed, Thu, Fri, Sat, and Inv\_WeekDay are the values in
|
|
|
|
|
Likewise, Sun, Mon, Tue, Wed, Thu, Fri, Sat, and Inv\_WeekDay are the values in
|
|
|
|
|
{\tt wxDateTime::WeekDay} enum.
|
|
|
|
|
|
|
|
|
|
Finally, Inv\_Year is defined to be an invalid value for year parameter.
|
|
|
|
@@ -192,6 +192,9 @@ Please note that although several function accept an extra {\it Calendar}
|
|
|
|
|
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_<StaticMethodName>} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\helpref{SetCountry}{wxdatetimesetcountry}\\
|
|
|
|
|
\helpref{GetCountry}{wxdatetimegetcountry}\\
|
|
|
|
|
\helpref{IsWestEuropeanCountry}{wxdatetimeiswesteuropeancountry}\\
|
|
|
|
@@ -381,7 +384,7 @@ provided. You can construct a wxDateTime object from a
|
|
|
|
|
\helpref{Rata Die number}{wxdatetimegetratadie} from it.
|
|
|
|
|
|
|
|
|
|
\helpref{wxDateTime(double jdn)}{wxdatetimewxdatetimejdn}\\
|
|
|
|
|
\helpref{Set(double jdn)}{wxdatetimesetjdn}
|
|
|
|
|
\helpref{Set(double jdn)}{wxdatetimesetjdn}\\
|
|
|
|
|
\helpref{GetJulianDayNumber}{wxdatetimegetjuliandaynumber}\\
|
|
|
|
|
\helpref{GetJDN}{wxdatetimegetjdn}\\
|
|
|
|
|
\helpref{GetModifiedJulianDayNumber}{wxdatetimegetmodifiedjuliandaynumber}\\
|
|
|
|
@@ -509,6 +512,9 @@ year.
|
|
|
|
|
|
|
|
|
|
The only supported value for {\it cal} parameter is currently {\tt Gregorian}.
|
|
|
|
|
|
|
|
|
|
\pythonnote{These two methods are named {\tt GetNumberOfDaysInYear}
|
|
|
|
|
and {\tt GetNumberOfDaysInMonth} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::GetWeekDayName}\label{wxdatetimegetweekdayname}
|
|
|
|
|
|
|
|
|
|
\func{static wxString}{GetWeekDayName}{\param{WeekDay }{weekday}, \param{NameFlags }{flags = Name\_Full}}
|
|
|
|
@@ -600,30 +606,40 @@ later.
|
|
|
|
|
|
|
|
|
|
Same as \helpref{Set}{wxdatetimewxdatetimetimet}.
|
|
|
|
|
|
|
|
|
|
\pythonnote{This constructor is named {\tt wxDateTimeFromTimeT} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::wxDateTime}\label{wxdatetimewxdatetimetm}
|
|
|
|
|
|
|
|
|
|
\func{wxDateTime\&}{wxDateTime}{\param{const struct tm\& }{tm}}
|
|
|
|
|
|
|
|
|
|
Same as \helpref{Set}{wxdatetimewxdatetimetm}
|
|
|
|
|
|
|
|
|
|
\pythonnote{Unsupported.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::wxDateTime}\label{wxdatetimewxdatetimejdn}
|
|
|
|
|
|
|
|
|
|
\func{wxDateTime\&}{wxDateTime}{\param{double }{jdn}}
|
|
|
|
|
|
|
|
|
|
Same as \helpref{Set}{wxdatetimewxdatetimejdn}
|
|
|
|
|
|
|
|
|
|
\pythonnote{This constructor is named {\tt wxDateTimeFromJDN} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::wxDateTime}\label{wxdatetimewxdatetimetime}
|
|
|
|
|
|
|
|
|
|
\func{wxDateTime\&}{wxDateTime}{\param{wxDateTime\_t }{hour}, \param{wxDateTime\_t }{minute = 0}, \param{wxDateTime\_t }{second = 0}, \param{wxDateTime\_t }{millisec = 0}}
|
|
|
|
|
|
|
|
|
|
Same as \helpref{Set}{wxdatetimewxdatetimetime}
|
|
|
|
|
|
|
|
|
|
\pythonnote{This constructor is named {\tt wxDateTimeFromHMS} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\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}}
|
|
|
|
|
|
|
|
|
|
Same as \helpref{Set}{wxdatetimesetdate}
|
|
|
|
|
|
|
|
|
|
\pythonnote{This constructor is named {\tt wxDateTimeFromDMY} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::SetToCurrent}\label{wxdatetimesettocurrent}
|
|
|
|
|
|
|
|
|
|
\func{wxDateTime&}{SetToCurrent}{\void}
|
|
|
|
@@ -638,6 +654,8 @@ of \helpref{Now()}{wxdatetimenow} to this object.
|
|
|
|
|
Constructs the object from {\it timet} value holding the number of seconds
|
|
|
|
|
since Jan 1, 1970.
|
|
|
|
|
|
|
|
|
|
\pythonnote{This method is named {\tt SetTimeT} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::Set}\label{wxdatetimesettm}
|
|
|
|
|
|
|
|
|
|
\func{wxDateTime\&}{Set}{\param{const struct tm\& }{tm}}
|
|
|
|
@@ -645,6 +663,8 @@ since Jan 1, 1970.
|
|
|
|
|
Sets the date and tiem from the broken down representation in the standard
|
|
|
|
|
{\tt tm} structure.
|
|
|
|
|
|
|
|
|
|
\pythonnote{Unsupported.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::Set}\label{wxdatetimesetjdn}
|
|
|
|
|
|
|
|
|
|
\func{wxDateTime\&}{Set}{\param{double }{jdn}}
|
|
|
|
@@ -656,6 +676,8 @@ particular instant is the fractional number of days since 12 hours Universal
|
|
|
|
|
Coordinated Time (Greenwhich mean noon) on January 1 of the year -4712 in the
|
|
|
|
|
Julian proleptic calendar.
|
|
|
|
|
|
|
|
|
|
\pythonnote{This method is named {\tt SetJDN} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::Set}\label{wxdatetimesettime}
|
|
|
|
|
|
|
|
|
|
\func{wxDateTime\&}{Set}{\param{wxDateTime\_t }{hour}, \param{wxDateTime\_t }{minute = 0}, \param{wxDateTime\_t }{second = 0}, \param{wxDateTime\_t }{millisec = 0}}
|
|
|
|
@@ -663,6 +685,8 @@ Julian proleptic calendar.
|
|
|
|
|
Sets the date to be equal to \helpref{Today}{wxdatetimetoday} and the time
|
|
|
|
|
from supplied parameters.
|
|
|
|
|
|
|
|
|
|
\pythonnote{This method is named {\tt SetHMS} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\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}}
|
|
|
|
@@ -913,6 +937,8 @@ this interval.
|
|
|
|
|
|
|
|
|
|
Adds the given time span to this object.
|
|
|
|
|
|
|
|
|
|
\pythonnote{This method is named {\tt AddTS} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::Subtract}\label{wxdatetimesubtractts}
|
|
|
|
|
|
|
|
|
|
\constfunc{wxDateTime}{Subtract}{\param{const wxTimeSpan\& }{diff}}
|
|
|
|
@@ -923,6 +949,8 @@ Adds the given time span to this object.
|
|
|
|
|
|
|
|
|
|
Subtracts the given time span from this object.
|
|
|
|
|
|
|
|
|
|
\pythonnote{This method is named {\tt SubtractTS} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::Add}\label{wxdatetimeaddds}
|
|
|
|
|
|
|
|
|
|
\constfunc{wxDateTime}{Add}{\param{const wxDateSpan\& }{diff}}
|
|
|
|
@@ -933,6 +961,8 @@ Subtracts the given time span from this object.
|
|
|
|
|
|
|
|
|
|
Adds the given date span to this object.
|
|
|
|
|
|
|
|
|
|
\pythonnote{This method is named {\tt AddDS} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::Subtract}\label{wxdatetimesubtractds}
|
|
|
|
|
|
|
|
|
|
\constfunc{wxDateTime}{Subtract}{\param{const wxDateSpan\& }{diff}}
|
|
|
|
@@ -943,6 +973,8 @@ Adds the given date span to this object.
|
|
|
|
|
|
|
|
|
|
Subtracts the given date span from this object.
|
|
|
|
|
|
|
|
|
|
\pythonnote{This method is named {\tt SubtractDS} in wxPython.}
|
|
|
|
|
|
|
|
|
|
\membersection{wxDateTime::Subtract}\label{wxdatetimesubtractdt}
|
|
|
|
|
|
|
|
|
|
\constfunc{wxTimeSpan}{Subtract}{\param{const wxDateTime\& }{dt}}
|
|
|
|
|