function.
Equality operators are defined for wxDateSpans. Two datespans are equal if
-and only if they both give the same target date when added to {\bf every}
+and only if they both give the same target date when added to {\bf every}\rtfsp
source date. Thus wxDateSpan::Months(1) is not equal to wxDateSpan::Days(30),
-because they not give the same date when added to 1 Feb. But
+because they don't give the same date when added to 1 Feb. But
wxDateSpan::Days(14) is equal to wxDateSpan::Weeks(2)
Finally, notice that for adding hours, minutes and so on you don't need this
and days. Note that the weeks and days add together if both are given.
% wxDateSpan::Add
-\membersection{wxDateSpan::Add}{wxdatespanadd}
+\membersection{wxDateSpan::Add}\label{wxdatespanadd}
\constfunc{wxDateSpan}{Add}{\param{const wxDateSpan\& }{other}}
second and third ones modify this object in place.
% wxDateSpan::Day
-\membersection{wxDateSpan::Day}{wxdatespanday}
+\membersection{wxDateSpan::Day}\label{wxdatespanday}
\func{static wxDateSpan}{Day}{\void}
\helpref{Days}{wxdatespandays}
% wxDateSpan::Days
-\membersection{wxDateSpan::Days}{wxdatespandays}
+\membersection{wxDateSpan::Days}\label{wxdatespandays}
\func{static wxDateSpan}{Days}{\param{int }{days}}
\helpref{Day}{wxdatespanday}
% wxDateSpan::GetDays
-\membersection{wxDateSpan::GetDays}{wxdatespangetdays}
+\membersection{wxDateSpan::GetDays}\label{wxdatespangetdays}
\constfunc{int}{GetDays}{\void}
\helpref{GetTotalDays}{wxdatespangettotaldays}
% wxDateSpan::GetMonths
-\membersection{wxDateSpan::GetMonths}{wxdatespangetmonths}
+\membersection{wxDateSpan::GetMonths}\label{wxdatespangetmonths}
\constfunc{int}{GetMonths}{\void}
Returns the number of the months (not counting the years) in this date span.
% wxDateSpan::GetTotalDays
-\membersection{wxDateSpan::GetTotalDays}{wxdatespangettotaldays}
+\membersection{wxDateSpan::GetTotalDays}\label{wxdatespangettotaldays}
\constfunc{int}{GetTotalDays}{\void}
\helpref{GetWeeks}{wxdatespangetweeks}, \helpref{GetDays}{wxdatespangetdays}
% wxDateSpan::GetWeeks
-\membersection{wxDateSpan::GetWeeks}{wxdatespangetweeks}
+\membersection{wxDateSpan::GetWeeks}\label{wxdatespangetweeks}
\constfunc{int}{GetWeeks}{\void}
\helpref{GetTotalDays}{wxdatespangettotaldays}
% wxDateSpan::GetYears
-\membersection{wxDateSpan::GetYears}{wxdatespangetyears}
+\membersection{wxDateSpan::GetYears}\label{wxdatespangetyears}
\constfunc{int}{GetYears}{\void}
Returns the number of years in this date span.
% wxDateSpan::Month
-\membersection{wxDateSpan::Month}{wxdatespanmonth}
+\membersection{wxDateSpan::Month}\label{wxdatespanmonth}
\func{static wxDateSpan}{Month}{\void}
\helpref{Months}{wxdatespanmonths}
% wxDateSpan::Months
-\membersection{wxDateSpan::Months}{wxdatespanmonths}
+\membersection{wxDateSpan::Months}\label{wxdatespanmonths}
\func{static wxDateSpan}{Months}{\param{int }{mon}}
\helpref{Month}{wxdatespanmonth}
% wxDateSpan::Multiply
-\membersection{wxDateSpan::Multiply}{wxdatespanmultiply}
+\membersection{wxDateSpan::Multiply}\label{wxdatespanmultiply}
\constfunc{wxDateSpan}{Multiply}{\param{int }{factor}}
object in place.
% wxDateSpan::Negate
-\membersection{wxDateSpan::Negate}{wxdatespannegate}
+\membersection{wxDateSpan::Negate}\label{wxdatespannegate}
\constfunc{wxDateSpan}{Negate}{\void}
\helpref{Neg}{wxdatespanneg}
% wxDateSpan::Neg
-\membersection{wxDateSpan::Neg}{wxdatespanneg}
+\membersection{wxDateSpan::Neg}\label{wxdatespanneg}
\func{wxDateSpan\&}{Neg}{\void}
\helpref{Negate}{wxdatespannegate}
% wxDateSpan::SetDays
-\membersection{wxDateSpan::SetDays}{wxdatespansetdays}
+\membersection{wxDateSpan::SetDays}\label{wxdatespansetdays}
\func{wxDateSpan\&}{SetDays}{\param{int }{n}}
span.
% wxDateSpan::SetYears
-\membersection{wxDateSpan::SetYears}{wxdatespansetyears}
+\membersection{wxDateSpan::SetYears}\label{wxdatespansetyears}
\func{wxDateSpan\&}{SetYears}{\param{int }{n}}
span.
% wxDateSpan::SetMonths
-\membersection{wxDateSpan::SetMonths}{wxdatespansetmonths}
+\membersection{wxDateSpan::SetMonths}\label{wxdatespansetmonths}
\func{wxDateSpan\&}{SetMonths}{\param{int }{n}}
date span.
% wxDateSpan::SetWeeks
-\membersection{wxDateSpan::SetWeeks}{wxdatespansetweeks}
+\membersection{wxDateSpan::SetWeeks}\label{wxdatespansetweeks}
\func{wxDateSpan\&}{SetWeeks}{\param{int }{n}}
span.
% wxDateSpan::Subtract
-\membersection{wxDateSpan::Subtract}{wxdatespansubtract}
+\membersection{wxDateSpan::Subtract}\label{wxdatespansubtract}
\constfunc{wxDateSpan}{Subtract}{\param{const wxDateSpan\& }{other}}
object, the second and third ones modify this object in place.
% wxDateSpan::Week
-\membersection{wxDateSpan::Week}{wxdatespanweek}
+\membersection{wxDateSpan::Week}\label{wxdatespanweek}
\func{static wxDateSpan}{Week}{\void}
\helpref{Weeks}{wxdatespanweeks}
% wxDateSpan::Weeks
-\membersection{wxDateSpan::Weeks}{wxdatespanweeks}
+\membersection{wxDateSpan::Weeks}\label{wxdatespanweeks}
\func{static wxDateSpan}{Weeks}{\param{int }{weeks}}
\helpref{Week}{wxdatespanweek}
% wxDateSpan::Year
-\membersection{wxDateSpan::Year}{wxdatespanyear}
+\membersection{wxDateSpan::Year}\label{wxdatespanyear}
\func{static wxDateSpan}{Year}{\void}
\helpref{Years}{wxdatespanyears}
% wxDateSpan::Years
-\membersection{wxDateSpan::Years}{wxdatespanyears}
+\membersection{wxDateSpan::Years}\label{wxdatespanyears}
\func{static wxDateSpan}{Years}{\param{int }{years}}
\helpref{Year}{wxdatespanyear}
% wxDateSpan::operator==
-\membersection{wxDateSpan::operator$==$}{wxdatespanoperatorequal}
+\membersection{wxDateSpan::operator$==$}\label{wxdatespanoperatorequal}
\constfunc{bool}{operator$==$}{\param{wxDateSpan\&}{ other}}
months and the same total number of days (counting both days and weeks).
% wxDateSpan::operator!=
-\membersection{wxDateSpan::operator$!=$}{wxdatespanoperatornotequal}
+\membersection{wxDateSpan::operator$!=$}\label{wxdatespanoperatornotequal}
\constfunc{bool}{operator$!=$}{\param{wxDateSpan\&}{ other}}
\wxheading{See also}
\helpref{operator==}{wxdatespanoperatorequal}
+