A class for manipulating dates.
+{\bf NOTE:} this class should be
+used with caution, since it is not fully tested. It will be replaced
+with a new wxDateTime class in the near future.
+
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
+\wxheading{Include files}
+
+<wx/date.h>
+
\wxheading{See also}
\helpref{wxTime}{wxtime}
Copy constructor.
-\func{}{wxDate}{\param{const int}{ month}, \param{const int}{ day}, \param{const int}{ year}}
+\func{}{wxDate}{\param{int}{ month}, \param{int}{ day}, \param{int}{ year}}
Constructor taking month, day and year.
-\func{}{wxDate}{\param{const long}{ julian}}
+\func{}{wxDate}{\param{long}{ julian}}
Constructor taking an integer representing the Julian date. This is the number of days since
1st January 4713 B.C., so to convert from the number of days since 1st January 1901,
\membersection{wxDate::AddMonths}\label{wxdateaddmonths}
-\func{wxDate\&}{AddMonths}{\param{const int}{ months=1}}
+\func{wxDate\&}{AddMonths}{\param{int}{ months=1}}
Adds the given number of months to the date, returning a reference to `this'.
\membersection{wxDate::AddWeeks}\label{wxdateaddweeks}
-\func{wxDate\&}{AddWeeks}{\param{const int}{ weeks=1}}
+\func{wxDate\&}{AddWeeks}{\param{int}{ weeks=1}}
Adds the given number of weeks to the date, returning a reference to `this'.
\membersection{wxDate::AddYears}\label{wxdateaddyears}
-\func{wxDate\&}{AddYears}{\param{const int}{ years=1}}
+\func{wxDate\&}{AddYears}{\param{int}{ years=1}}
Adds the given number of months to the date, returning a reference to `this'.
\membersection{wxDate::FormatDate}\label{wxdateformatdate}
-\constfunc{wxString}{FormatDate}{\param{const int}{ type=-1}}
+\constfunc{wxString}{FormatDate}{\param{int}{ type=-1}}
Formats the date according to {\it type} if not -1, or according
to the current display type if -1.
Sets the date to current system date, returning a reference to `this'.
-\func{wxDate\&}{Set}{\param{const long}{ julian}}
+\func{wxDate\&}{Set}{\param{long}{ julian}}
Sets the date to the given Julian date, returning a reference to `this'.
-\func{wxDate\&}{Set}{\param{const int}{ month}, \param{const int}{ day}, \param{const int}{ year}}
+\func{wxDate\&}{Set}{\param{int}{ month}, \param{int}{ day}, \param{int}{ year}}
Sets the date to the given date, returning a reference to `this'.
\membersection{wxDate::SetFormat}\label{wxdatesetformat}
-\func{void}{SetFormat}{\param{const int}{ format}}
+\func{void}{SetFormat}{\param{int}{ format}}
Sets the current format type.
\membersection{wxDate::SetOption}\label{wxdatesetoption}
-\func{int}{SetOption}{\param{const int}{ option}, \param{const bool}{ enable=TRUE}}
+\func{int}{SetOption}{\param{int}{ option}, \param{const bool}{ enable=TRUE}}
Enables or disables an option for formatting.
\membersection{wxDate::operator $+$}\label{wxdateplus}
-\func{wxDate}{operator $+$}{\param{const long}{ i}}
+\func{wxDate}{operator $+$}{\param{long}{ i}}
-\func{wxDate}{operator $+$}{\param{const int}{ i}}
+\func{wxDate}{operator $+$}{\param{int}{ i}}
Adds an integer number of days to the date, returning a date.
\membersection{wxDate::operator $-$}\label{wxdateminus}
-\func{wxDate}{operator $-$}{\param{const long}{ i}}
+\func{wxDate}{operator $-$}{\param{long}{ i}}
-\func{wxDate}{operator $-$}{\param{const int}{ i}}
+\func{wxDate}{operator $-$}{\param{int}{ i}}
Subtracts an integer number of days from the date, returning a date.
\membersection{wxDate::operator $+=$}\label{wxdateplusequals}
-\func{wxDate\&}{operator $+=$}{\param{const long}{ i}}
+\func{wxDate\&}{operator $+=$}{\param{long}{ i}}
Postfix operator: adds an integer number of days to the date, returning
a reference to `this' date.
\membersection{wxDate::operator $-=$}\label{wxdateminusequals}
-\func{wxDate\&}{operator $-=$}{\param{const long}{ i}}
+\func{wxDate\&}{operator $-=$}{\param{long}{ i}}
Postfix operator: subtracts an integer number of days from the date, returning
a reference to `this' date.