fixed several bugs in wxDateTime week number calculations which required passing WeekFlags argument to more functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1127,7 +1127,7 @@ This function returns the time representation in the ISO 8601 format
|
||||
|
||||
\membersection{wxDateTime::SetToWeekDayInSameWeek}\label{wxdatetimesettoweekdayinsameweek}
|
||||
|
||||
\func{wxDateTime\&}{SetToWeekDayInSameWeek}{\param{WeekDay }{weekday}}
|
||||
\func{wxDateTime\&}{SetToWeekDayInSameWeek}{\param{WeekDay }{weekday}, \param{WeekFlags}{flags = {\tt Monday\_First}}}
|
||||
|
||||
Adjusts the date so that it will still lie in the same week as before, but its
|
||||
week day will be the given one.
|
||||
@@ -1136,9 +1136,9 @@ Returns the reference to the modified object itself.
|
||||
|
||||
\membersection{wxDateTime::GetWeekDayInSameWeek}\label{wxdatetimegetweekdayinsameweek}
|
||||
|
||||
\constfunc{wxDateTime}{GetWeekDayInSameWeek}{\param{WeekDay }{weekday}}
|
||||
\constfunc{wxDateTime}{GetWeekDayInSameWeek}{\param{WeekDay }{weekday}, \param{WeekFlags}{flags = {\tt Monday\_First}}}
|
||||
|
||||
Returns the copy of this object to which
|
||||
Returns the copy of this object to which
|
||||
\helpref{SetToWeekDayInSameWeek}{wxdatetimesettoweekdayinsameweek} was
|
||||
applied.
|
||||
|
||||
@@ -1216,7 +1216,7 @@ Returns the copy of this object to which
|
||||
|
||||
\membersection{wxDateTime::SetToTheWeek}\label{wxdatetimesettotheweek}
|
||||
|
||||
\func{bool}{SetToTheWeek}{\param{wxDateTime\_t }{numWeek}, \param{WeekDay }{weekday = Mon}}
|
||||
\func{bool}{SetToTheWeek}{\param{wxDateTime\_t }{numWeek}, \param{WeekDay }{weekday = Mon}, \param{WeekFlags}{flags = {\tt Monday\_First}}}
|
||||
|
||||
Set the date to the given {\it weekday} in the week with given number
|
||||
{\it numWeek}. The number should be in range $1\ldots53$ and {\tt FALSE} will
|
||||
@@ -1225,7 +1225,7 @@ date was changed successfully.
|
||||
|
||||
\membersection{wxDateTime::GetWeek}\label{wxdatetimegetweek}
|
||||
|
||||
\constfunc{wxDateTime}{GetWeek}{\param{wxDateTime\_t }{numWeek}, \param{WeekDay }{weekday = Mon}}
|
||||
\constfunc{wxDateTime}{GetWeek}{\param{wxDateTime\_t }{numWeek}, \param{WeekDay }{weekday = Mon}, \param{WeekFlags}{flags = {\tt Monday\_First}}}
|
||||
|
||||
Returns the copy of this object to which
|
||||
\helpref{SetToTheWeek}{wxdatetimesettotheweek} was applied.
|
||||
|
Reference in New Issue
Block a user