X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0497e17283d5ec84df3d1b24e74b79d1488f5637..df10208f26d2659e5995fd00debeb4eaa11174cc:/docs/latex/wx/datespan.tex?ds=sidebyside diff --git a/docs/latex/wx/datespan.tex b/docs/latex/wx/datespan.tex index d21ee72637..20ddda3919 100644 --- a/docs/latex/wx/datespan.tex +++ b/docs/latex/wx/datespan.tex @@ -6,7 +6,7 @@ %% Created: 04.04.00 %% RCS-ID: $Id$ %% Copyright: (c) Vadim Zeitlin -%% License: wxWindows license +%% License: wxWidgets license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{\class{wxDateSpan}}\label{wxdatespan} @@ -37,7 +37,7 @@ days added will be $7*\hbox{weeks} + \hbox{days}$! See also GetTotalDays() 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 don't give the same date when added to 1 Feb. But wxDateSpan::Days(14) is equal to wxDateSpan::Weeks(2)