Further fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -151,7 +151,7 @@ values as parameter:
|
||||
Differnet parst of the world use different conventions for the week start.
|
||||
In some countries, the week starts on Sunday, while in others - on Monday.
|
||||
The ISO standard doesn't address this issue, so we support both conventions in
|
||||
the fucntions whose result depends on it (
|
||||
the functions whose result depends on it (
|
||||
\helpref{GetWeekOfYear}{wxdatetimegetweekofyear} and
|
||||
\helpref{GetWeekOfMonth}{wxdatetimegetweekofmonth}).
|
||||
|
||||
@@ -597,58 +597,58 @@ same as \helpref{Now()}{wxdatetimenow}, but the time part is set to $0$).
|
||||
Default constructor. Use one of {\tt Set()} functions to initialize the object
|
||||
later.
|
||||
|
||||
\membersection{wxDateTime::wxDateTime}{wxdatetimewxdatetime}
|
||||
\membersection{wxDateTime::wxDateTime}\label{wxdatetimewxdatetime}
|
||||
|
||||
\func{wxDateTime\&}{wxDateTime}{\param{time\_t }{timet}}
|
||||
|
||||
Same as \helpref{Set}{wxdatetimewxdatetimetimet}.
|
||||
|
||||
\membersection{wxDateTime::wxDateTime}{wxdatetimewxdatetimetm}
|
||||
\membersection{wxDateTime::wxDateTime}\label{wxdatetimewxdatetimetm}
|
||||
|
||||
\func{wxDateTime\&}{wxDateTime}{\param{const struct tm\& }{tm}}
|
||||
|
||||
Same as \helpref{Set}{wxdatetimewxdatetimetm}
|
||||
|
||||
\membersection{wxDateTime::wxDateTime}{wxdatetimewxdatetimejdn}
|
||||
\membersection{wxDateTime::wxDateTime}\label{wxdatetimewxdatetimejdn}
|
||||
|
||||
\func{wxDateTime\&}{wxDateTime}{\param{double }{jdn}}
|
||||
|
||||
Same as \helpref{Set}{wxdatetimewxdatetimejdn}
|
||||
|
||||
\membersection{wxDateTime::wxDateTime}{wxdatetimewxdatetimetime}
|
||||
\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}
|
||||
|
||||
\membersection{wxDateTime::wxDateTime}{wxdatetimewxdatetimedate}
|
||||
\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}
|
||||
|
||||
\membersection{wxDateTime::SetToCurrent}{wxdatetimesettocurrent}
|
||||
\membersection{wxDateTime::SetToCurrent}\label{wxdatetimesettocurrent}
|
||||
|
||||
\func{wxDateTime&}{SetToCurrent}{\void}
|
||||
|
||||
Sets the date and time of to the current values. Same as assigning the result
|
||||
of \helpref{Now()}{wxdatetimenow} to this object.
|
||||
|
||||
\membersection{wxDateTime::Set}{wxdatetimesettimet}
|
||||
\membersection{wxDateTime::Set}\label{wxdatetimesettimet}
|
||||
|
||||
\func{wxDateTime\&}{Set}{\param{time\_t }{timet}}
|
||||
|
||||
Constructs the object from {\it timet} value holding the number of seconds
|
||||
since Jan 1, 1970.
|
||||
|
||||
\membersection{wxDateTime::Set}{wxdatetimesettm}
|
||||
\membersection{wxDateTime::Set}\label{wxdatetimesettm}
|
||||
|
||||
\func{wxDateTime\&}{Set}{\param{const struct tm\& }{tm}}
|
||||
|
||||
Sets the date and tiem from the broken down representation in the standard
|
||||
{\tt tm} structure.
|
||||
|
||||
\membersection{wxDateTime::Set}{wxdatetimesetjdn}
|
||||
\membersection{wxDateTime::Set}\label{wxdatetimesetjdn}
|
||||
|
||||
\func{wxDateTime\&}{Set}{\param{double }{jdn}}
|
||||
|
||||
@@ -659,74 +659,74 @@ 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.
|
||||
|
||||
\membersection{wxDateTime::Set}{wxdatetimesettime}
|
||||
\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}}
|
||||
|
||||
Sets the date to be equal to \helpref{Today}{wxdatetimetoday} and the time
|
||||
from supplied parameters.
|
||||
|
||||
\membersection{wxDateTime::Set}{wxdatetimesetdate}
|
||||
\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}}
|
||||
|
||||
Sets the date and time from the parameters.
|
||||
|
||||
\membersection{wxDateTime::ResetTime}{wxdatetimeresettime}
|
||||
\membersection{wxDateTime::ResetTime}\label{wxdatetimeresettime}
|
||||
|
||||
\func{wxDateTime\&}{ResetTime}{\void}
|
||||
|
||||
Reset time to midnight (00:00:00) without changing the date.
|
||||
|
||||
\membersection{wxDateTime::SetYear}{wxdatetimesetyear}
|
||||
\membersection{wxDateTime::SetYear}\label{wxdatetimesetyear}
|
||||
|
||||
\func{wxDateTime\&}{SetYear}{\param{int }{year}}
|
||||
|
||||
Sets the year without changing other date components.
|
||||
|
||||
\membersection{wxDateTime::SetMonth}{wxdatetimesetmonth}
|
||||
\membersection{wxDateTime::SetMonth}\label{wxdatetimesetmonth}
|
||||
|
||||
\func{wxDateTime\&}{SetMonth}{\param{Month }{month}}
|
||||
|
||||
Sets the month without changing other date components.
|
||||
|
||||
\membersection{wxDateTime::SetDay}{wxdatetimesetday}
|
||||
\membersection{wxDateTime::SetDay}\label{wxdatetimesetday}
|
||||
|
||||
\func{wxDateTime\&}{SetDay}{\param{wxDateTime\_t }{day}}
|
||||
|
||||
Sets the day without changing other date components.
|
||||
|
||||
\membersection{wxDateTime::SetHour}{wxdatetimesethour}
|
||||
\membersection{wxDateTime::SetHour}\label{wxdatetimesethour}
|
||||
|
||||
\func{wxDateTime\&}{SetHour}{\param{wxDateTime\_t }{hour}}
|
||||
|
||||
Sets the hour without changing other date components.
|
||||
|
||||
\membersection{wxDateTime::SetMinute}{wxdatetimesetminute}
|
||||
\membersection{wxDateTime::SetMinute}\label{wxdatetimesetminute}
|
||||
|
||||
\func{wxDateTime\&}{SetMinute}{\param{wxDateTime\_t }{minute}}
|
||||
|
||||
Sets the minute without changing other date components.
|
||||
|
||||
\membersection{wxDateTime::SetSecond}{wxdatetimesetsecond}
|
||||
\membersection{wxDateTime::SetSecond}\label{wxdatetimesetsecond}
|
||||
|
||||
\func{wxDateTime\&}{SetSecond}{\param{wxDateTime\_t }{second}}
|
||||
|
||||
Sets the second without changing other date components.
|
||||
|
||||
\membersection{wxDateTime::SetMillisecond}{wxdatetimesetmillisecond}
|
||||
\membersection{wxDateTime::SetMillisecond}\label{wxdatetimesetmillisecond}
|
||||
|
||||
\func{wxDateTime\&}{SetMillisecond}{\param{wxDateTime\_t }{millisecond}}
|
||||
|
||||
Sets the millisecond without changing other date components.
|
||||
|
||||
\membersection{wxDateTime::operator$=$}{wxdatetimeoperatoreqtimet}
|
||||
\membersection{wxDateTime::operator$=$}\label{wxdatetimeoperatoreqtimet}
|
||||
|
||||
\func{wxDateTime\&}{operator}{\param{time\_t }{timet}}
|
||||
|
||||
Same as \helpref{Set}{wxdatetimesettimet}.
|
||||
|
||||
\membersection{wxDateTime::operator$=$}{wxdatetimeoperatoreqtm}
|
||||
\membersection{wxDateTime::operator$=$}\label{wxdatetimeoperatoreqtm}
|
||||
|
||||
\func{wxDateTime\&}{operator}{\param{const struct tm\& }{tm}}
|
||||
|
||||
@@ -734,81 +734,81 @@ Same as \helpref{Set}{wxdatetimesettm}.
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%% accessors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\membersection{wxDateTime::IsValid}{wxdatetimeisvalid}
|
||||
\membersection{wxDateTime::IsValid}\label{wxdatetimeisvalid}
|
||||
|
||||
\constfunc{bool}{IsValid}{\void}
|
||||
|
||||
Returns {\tt TRUE} if the object represents a valid time moment.
|
||||
|
||||
\membersection{wxDateTime::GetTm}{wxdatetimegettm}
|
||||
\membersection{wxDateTime::GetTm}\label{wxdatetimegettm}
|
||||
|
||||
\constfunc{Tm}{GetTm}{\param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
Returns broken down representation of the date and time.
|
||||
|
||||
\membersection{wxDateTime::GetTicks}{wxdatetimegetticks}
|
||||
\membersection{wxDateTime::GetTicks}\label{wxdatetimegetticks}
|
||||
|
||||
\constfunc{time\_t}{GetTicks}{\void}
|
||||
|
||||
Returns the number of seconds since Jan 1, 1970. An assert failure will occur
|
||||
if the date is not in the range covered by {\tt time\_t} type.
|
||||
|
||||
\membersection{wxDateTime::GetYear}{wxdatetimegetyear}
|
||||
\membersection{wxDateTime::GetYear}\label{wxdatetimegetyear}
|
||||
|
||||
\constfunc{int}{GetYear}{\param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
Returns the year in the given timezone (local one by default).
|
||||
|
||||
\membersection{wxDateTime::GetMonth}{wxdatetimegetmonth}
|
||||
\membersection{wxDateTime::GetMonth}\label{wxdatetimegetmonth}
|
||||
|
||||
\constfunc{Month}{GetMonth}{\param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
Returns the month in the given timezone (local one by default).
|
||||
|
||||
\membersection{wxDateTime::GetDay}{wxdatetimegetday}
|
||||
\membersection{wxDateTime::GetDay}\label{wxdatetimegetday}
|
||||
|
||||
\constfunc{wxDateTime\_t}{GetDay}{\param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
Returns the day in the given timezone (local one by default).
|
||||
|
||||
\membersection{wxDateTime::GetWeekDay}{wxdatetimegetweekday}
|
||||
\membersection{wxDateTime::GetWeekDay}\label{wxdatetimegetweekday}
|
||||
|
||||
\constfunc{WeekDay}{GetWeekDay}{\param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
Returns the week day in the given timezone (local one by default).
|
||||
|
||||
\membersection{wxDateTime::GetHour}{wxdatetimegethour}
|
||||
\membersection{wxDateTime::GetHour}\label{wxdatetimegethour}
|
||||
|
||||
\constfunc{wxDateTime\_t}{GetHour}{\param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
Returns the hour in the given timezone (local one by default).
|
||||
|
||||
\membersection{wxDateTime::GetMinute}{wxdatetimegetminute}
|
||||
\membersection{wxDateTime::GetMinute}\label{wxdatetimegetminute}
|
||||
|
||||
\constfunc{wxDateTime\_t}{GetMinute}{\param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
Returns the minute in the given timezone (local one by default).
|
||||
|
||||
\membersection{wxDateTime::GetSecond}{wxdatetimegetsecond}
|
||||
\membersection{wxDateTime::GetSecond}\label{wxdatetimegetsecond}
|
||||
|
||||
\constfunc{wxDateTime\_t}{GetSecond}{\param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
Returns the seconds in the given timezone (local one by default).
|
||||
|
||||
\membersection{wxDateTime::GetMillisecond}{wxdatetimegetmillisecond}
|
||||
\membersection{wxDateTime::GetMillisecond}\label{wxdatetimegetmillisecond}
|
||||
|
||||
\constfunc{wxDateTime\_t}{GetMillisecond}{\param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
Returns the milliseconds in the given timezone (local one by default).
|
||||
|
||||
\membersection{wxDateTime::GetDayOfYear}{wxdatetimegetdayofyear}
|
||||
\membersection{wxDateTime::GetDayOfYear}\label{wxdatetimegetdayofyear}
|
||||
|
||||
\constfunc{wxDateTime\_t}{GetDayOfYear}{\param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
Returns the day of the year (in $1\ldots366$ range) in the given timezone
|
||||
(local one by default).
|
||||
|
||||
\membersection{wxDateTime::GetWeekOfYear}{wxdatetimegetweekofyear}
|
||||
\membersection{wxDateTime::GetWeekOfYear}\label{wxdatetimegetweekofyear}
|
||||
|
||||
\constfunc{wxDateTime\_t}{GetWeekOfYear}{\param{WeekFlags }{flags = Monday\_First}, \param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
@@ -819,7 +819,7 @@ The week number is in $1\ldots53$ range ($52$ for non leap years).
|
||||
The function depends on the \helpref{week start}{wxdatetimeweekstart} convention
|
||||
specified by the {\it flags} argument.
|
||||
|
||||
\membersection{wxDateTime::GetWeekOfMonth}{wxdatetimegetweekofmonth}
|
||||
\membersection{wxDateTime::GetWeekOfMonth}\label{wxdatetimegetweekofmonth}
|
||||
|
||||
\constfunc{wxDateTime\_t}{GetWeekOfMonth}{\param{WeekFlags }{flags = Monday\_First}, \param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
@@ -829,13 +829,13 @@ As \helpref{GetWeekOfYear}{wxdatetimegetweekofyear}, this function supports
|
||||
both conventions for the week start. See the description of these
|
||||
\helpref{week start}{wxdatetimeweekstart} conventions.
|
||||
|
||||
\membersection{wxDateTime::IsWorkDay}{wxdatetimeisworkday}
|
||||
\membersection{wxDateTime::IsWorkDay}\label{wxdatetimeisworkday}
|
||||
|
||||
\constfunc{bool}{IsWorkDay}{\param{Country }{country = Country\_Default}}
|
||||
|
||||
Returns {\tt TRUE} is this day is not a holiday in the given country.
|
||||
|
||||
\membersection{wxDateTime::IsGregorianDate}{wxdatetimeisgregoriandate}
|
||||
\membersection{wxDateTime::IsGregorianDate}\label{wxdatetimeisgregoriandate}
|
||||
|
||||
\constfunc{bool}{IsGregorianDate}{\param{GregorianAdoption }{country = Gr\_Standard}}
|
||||
|
||||
@@ -845,25 +845,25 @@ calculations make sense for it).
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%% comparison %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\membersection{wxDateTime::IsEqualTo}{wxdatetimeisequalto}
|
||||
\membersection{wxDateTime::IsEqualTo}\label{wxdatetimeisequalto}
|
||||
|
||||
\constfunc{bool}{IsEqualTo}{\param{const wxDateTime& }{datetime}}
|
||||
|
||||
Returns {\tt TRUE} if the two dates are strictly identical.
|
||||
|
||||
\membersection{wxDateTime::IsEarlierThan}{wxdatetimeisearlierthan}
|
||||
\membersection{wxDateTime::IsEarlierThan}\label{wxdatetimeisearlierthan}
|
||||
|
||||
\constfunc{bool}{IsEarlierThan}{\param{const wxDateTime& }{datetime}}
|
||||
|
||||
Returns {\tt TRUE} if this date precedes the given one.
|
||||
|
||||
\membersection{wxDateTime::IsLaterThan}{wxdatetimeislaterthan}
|
||||
\membersection{wxDateTime::IsLaterThan}\label{wxdatetimeislaterthan}
|
||||
|
||||
\constfunc{bool}{IsLaterThan}{\param{const wxDateTime& }{datetime}}
|
||||
|
||||
Returns {\tt TRUE} if this date is later than the given one.
|
||||
|
||||
\membersection{wxDateTime::IsStrictlyBetween}{wxdatetimeisstrictlybetween}
|
||||
\membersection{wxDateTime::IsStrictlyBetween}\label{wxdatetimeisstrictlybetween}
|
||||
|
||||
\constfunc{bool}{IsStrictlyBetween}{\param{const wxDateTime& }{t1}, \param{const wxDateTime& }{t2}}
|
||||
|
||||
@@ -873,7 +873,7 @@ Returns {\tt TRUE} if this date lies strictly between the two others,
|
||||
|
||||
\helpref{IsBetween}{wxdatetimeisbetween}
|
||||
|
||||
\membersection{wxDateTime::IsBetween}{wxdatetimeisbetween}
|
||||
\membersection{wxDateTime::IsBetween}\label{wxdatetimeisbetween}
|
||||
|
||||
\constfunc{bool}{IsBetween}{\param{const wxDateTime& }{t1}, \param{const wxDateTime& }{t2}}
|
||||
|
||||
@@ -884,19 +884,19 @@ is {\tt TRUE} or if the date is equal to one of the limi values.
|
||||
|
||||
\helpref{IsStrictlyBetween}{wxdatetimeisstrictlybetween}
|
||||
|
||||
\membersection{wxDateTime::IsSameDate}{wxdatetimeissamedate}
|
||||
\membersection{wxDateTime::IsSameDate}\label{wxdatetimeissamedate}
|
||||
|
||||
\constfunc{bool}{IsSameDate}{\param{const wxDateTime& }{dt}}
|
||||
|
||||
Returns {\tt TRUE} if the date is the same without comparing the time parts.
|
||||
|
||||
\membersection{wxDateTime::IsSameTime}{wxdatetimeissametime}
|
||||
\membersection{wxDateTime::IsSameTime}\label{wxdatetimeissametime}
|
||||
|
||||
\constfunc{bool}{IsSameTime}{\param{const wxDateTime& }{dt}}
|
||||
|
||||
Returns {\tt TRUE} if the time is the same (although dates may differ).
|
||||
|
||||
\membersection{wxDateTime::IsEqualUpTo}{wxdatetimeisequalupto}
|
||||
\membersection{wxDateTime::IsEqualUpTo}\label{wxdatetimeisequalupto}
|
||||
|
||||
\constfunc{bool}{IsEqualUpTo}{\param{const wxDateTime\& }{dt}, \param{const wxTimeSpan\& }{ts}}
|
||||
|
||||
@@ -906,7 +906,7 @@ this interval.
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%% arithmetics %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\membersection{wxDateTime::Add}{wxdatetimeaddts}
|
||||
\membersection{wxDateTime::Add}\label{wxdatetimeaddts}
|
||||
|
||||
\constfunc{wxDateTime}{Add}{\param{const wxTimeSpan\& }{diff}}
|
||||
|
||||
@@ -916,7 +916,7 @@ this interval.
|
||||
|
||||
Adds the given time span to this object.
|
||||
|
||||
\membersection{wxDateTime::Substract}{wxdatetimesubstract}
|
||||
\membersection{wxDateTime::Substract}\label{wxdatetimesubstract}
|
||||
|
||||
\constfunc{wxDateTime}{Substract}{\param{const wxTimeSpan\& }{diff}}
|
||||
|
||||
@@ -926,7 +926,7 @@ Adds the given time span to this object.
|
||||
|
||||
Substracts the given time span from this object.
|
||||
|
||||
\membersection{wxDateTime::Add}{wxdatetimeadd}
|
||||
\membersection{wxDateTime::Add}\label{wxdatetimeadd}
|
||||
|
||||
\constfunc{wxDateTime}{Add}{\param{const wxDateSpan\& }{diff}}
|
||||
|
||||
@@ -936,7 +936,7 @@ Substracts the given time span from this object.
|
||||
|
||||
Adds the given date span to this object.
|
||||
|
||||
\membersection{wxDateTime::Substract}{wxdatetimesubstract}
|
||||
\membersection{wxDateTime::Substract}\label{wxdatetimesubstract}
|
||||
|
||||
\constfunc{wxDateTime}{Substract}{\param{const wxDateSpan\& }{diff}}
|
||||
|
||||
@@ -946,7 +946,7 @@ Adds the given date span to this object.
|
||||
|
||||
Substracts the given date span from this object.
|
||||
|
||||
\membersection{wxDateTime::Substract}{wxdatetimesubstract}
|
||||
\membersection{wxDateTime::Substract}\label{wxdatetimesubstract}
|
||||
|
||||
\constfunc{wxTimeSpan}{Substract}{\param{const wxDateTime\& }{dt}}
|
||||
|
||||
@@ -955,7 +955,7 @@ as wxTimeSpan.
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%% parsing/formatting %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\membersection{wxDateTime::ParseRfc822Date}{wxdatetimeparserfc822date}
|
||||
\membersection{wxDateTime::ParseRfc822Date}\label{wxdatetimeparserfc822date}
|
||||
|
||||
\func{const wxChar *}{ParseRfc822Date}{\param{const wxChar* }{date}}
|
||||
|
||||
@@ -975,7 +975,7 @@ which is not RFC 822 compliant. If you need to parse date formatted in more
|
||||
free ways, you should use \helpref{ParseDateTime}{wxdatetimeparsedatetime} or
|
||||
\helpref{ParseDate}{wxdatetimeparsedate} instead.
|
||||
|
||||
\membersection{wxDateTime::ParseFormat}{wxdatetimeparseformat}
|
||||
\membersection{wxDateTime::ParseFormat}\label{wxdatetimeparseformat}
|
||||
|
||||
\func{const wxChar *}{ParseFormat}{\param{const wxChar *}{date}, \param{const wxChar *}{format = "\%c"}, \param{const wxDateTime\& }{dateDef = wxDefaultDateTime}}
|
||||
|
||||
@@ -998,7 +998,7 @@ default date.
|
||||
Returns {\tt NULL} if the conversion failed, otherwise return the pointer to
|
||||
the character which stopped the scan.
|
||||
|
||||
\membersection{wxDateTime::ParseDateTime}{wxdatetimeparsedatetime}
|
||||
\membersection{wxDateTime::ParseDateTime}\label{wxdatetimeparsedatetime}
|
||||
|
||||
\func{const wxChar *}{ParseDateTime}{\param{const wxChar *}{datetime}}
|
||||
|
||||
@@ -1011,7 +1011,7 @@ can not be parsed in any way at all.
|
||||
Returns {\tt NULL} if the conversion failed, otherwise return the pointer to
|
||||
the character which stopped the scan.
|
||||
|
||||
\membersection{wxDateTime::ParseDate}{wxdatetimeparsedate}
|
||||
\membersection{wxDateTime::ParseDate}\label{wxdatetimeparsedate}
|
||||
|
||||
\func{const wxChar *}{ParseDate}{\param{const wxChar *}{date}}
|
||||
|
||||
@@ -1023,7 +1023,7 @@ misinterpret the user input.
|
||||
Returns {\tt NULL} if the conversion failed, otherwise return the pointer to
|
||||
the character which stopped the scan.
|
||||
|
||||
\membersection{wxDateTime::ParseTime}{wxdatetimeparsetime}
|
||||
\membersection{wxDateTime::ParseTime}\label{wxdatetimeparsetime}
|
||||
|
||||
\func{const wxChar *}{ParseTime}{\param{const wxChar *}{time}}
|
||||
|
||||
@@ -1033,7 +1033,7 @@ only allows the time to be specified in the input string.
|
||||
Returns {\tt NULL} if the conversion failed, otherwise return the pointer to
|
||||
the character which stopped the scan.
|
||||
|
||||
\membersection{wxDateTime::Format}{wxdatetimeformat}
|
||||
\membersection{wxDateTime::Format}\label{wxdatetimeformat}
|
||||
|
||||
\constfunc{wxString }{Format}{\param{const wxChar *}{format = "\%c"}, \param{const TimeZone\& }{tz = Local}}
|
||||
|
||||
@@ -1044,28 +1044,28 @@ Please see its description for the meaning of {\it format} parameter.
|
||||
|
||||
\helpref{ParseFormat}{wxdatetimeparseformat}
|
||||
|
||||
\membersection{wxDateTime::FormatDate}{wxdatetimeformatdate}
|
||||
\membersection{wxDateTime::FormatDate}\label{wxdatetimeformatdate}
|
||||
|
||||
\constfunc{wxString }{FormatDate}{\void}
|
||||
|
||||
Identical to calling \helpref{Format()}{wxdatetimeformat} with {\tt "\%x"}
|
||||
argument (which means `preferred date representation for the current locale').
|
||||
|
||||
\membersection{wxDateTime::FormatTime}{wxdatetimeformattime}
|
||||
\membersection{wxDateTime::FormatTime}\label{wxdatetimeformattime}
|
||||
|
||||
\constfunc{wxString }{FormatTime}{\void}
|
||||
|
||||
Identical to calling \helpref{Format()}{wxdatetimeformat} with {\tt "\%X"}
|
||||
argument (which means `preferred time representation for the current locale').
|
||||
|
||||
\membersection{wxDateTime::FormatISODate}{wxdatetimeformatisodate}
|
||||
\membersection{wxDateTime::FormatISODate}\label{wxdatetimeformatisodate}
|
||||
|
||||
\constfunc{wxString }{FormatISODate}{\void}
|
||||
|
||||
This function returns the date representation in the ISO 8601 format
|
||||
(YYYY-MM-DD).
|
||||
|
||||
\membersection{wxDateTime::FormatISOTime}{wxdatetimeformatisotime}
|
||||
\membersection{wxDateTime::FormatISOTime}\label{wxdatetimeformatisotime}
|
||||
|
||||
\constfunc{wxString }{FormatISOTime}{\void}
|
||||
|
||||
@@ -1074,7 +1074,7 @@ This function returns the time representation in the ISO 8601 format
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%% calendar calculations %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\membersection{wxDateTime::SetToWeekDayInSameWeek}{wxdatetimesettoweekdayinsameweek}
|
||||
\membersection{wxDateTime::SetToWeekDayInSameWeek}\label{wxdatetimesettoweekdayinsameweek}
|
||||
|
||||
\func{wxDateTime\&}{SetToWeekDayInSameWeek}{\param{WeekDay }{weekday}}
|
||||
|
||||
@@ -1083,7 +1083,7 @@ week day will be the given one.
|
||||
|
||||
Returns the reference to the modified object itself.
|
||||
|
||||
\membersection{wxDateTime::GetWeekDayInSameWeek}{wxdatetimegetweekdayinsameweek}
|
||||
\membersection{wxDateTime::GetWeekDayInSameWeek}\label{wxdatetimegetweekdayinsameweek}
|
||||
|
||||
\constfunc{wxDateTime}{GetWeekDayInSameWeek}{\param{WeekDay }{weekday}}
|
||||
|
||||
@@ -1091,7 +1091,7 @@ Returns the copy of this object to which
|
||||
\helpref{SetToWeekDayInSameWeek}{wxdatetimesettoweekdayinsameweek} was
|
||||
applied.
|
||||
|
||||
\membersection{wxDateTime::SetToNextWeekDay}{wxdatetimesettonextweekday}
|
||||
\membersection{wxDateTime::SetToNextWeekDay}\label{wxdatetimesettonextweekday}
|
||||
|
||||
\func{wxDateTime\&}{SetToNextWeekDay}{\param{WeekDay }{weekday}}
|
||||
|
||||
@@ -1100,14 +1100,14 @@ date.
|
||||
|
||||
Returns the reference to the modified object itself.
|
||||
|
||||
\membersection{wxDateTime::GetNextWeekDay}{wxdatetimegetnextweekday}
|
||||
\membersection{wxDateTime::GetNextWeekDay}\label{wxdatetimegetnextweekday}
|
||||
|
||||
\constfunc{wxDateTime}{GetNextWeekDay}{\param{WeekDay }{weekday}}
|
||||
|
||||
Returns the copy of this object to which
|
||||
\helpref{SetToNextWeekDay}{wxdatetimesettonextweekday} was applied.
|
||||
|
||||
\membersection{wxDateTime::SetToPrevWeekDay}{wxdatetimesettoprevweekday}
|
||||
\membersection{wxDateTime::SetToPrevWeekDay}\label{wxdatetimesettoprevweekday}
|
||||
|
||||
\func{wxDateTime\&}{SetToPrevWeekDay}{\param{WeekDay }{weekday}}
|
||||
|
||||
@@ -1116,14 +1116,14 @@ date.
|
||||
|
||||
Returns the reference to the modified object itself.
|
||||
|
||||
\membersection{wxDateTime::GetPrevWeekDay}{wxdatetimegetprevweekday}
|
||||
\membersection{wxDateTime::GetPrevWeekDay}\label{wxdatetimegetprevweekday}
|
||||
|
||||
\constfunc{wxDateTime}{GetPrevWeekDay}{\param{WeekDay }{weekday}}
|
||||
|
||||
Returns the copy of this object to which
|
||||
\helpref{SetToPrevWeekDay}{wxdatetimesettoprevweekday} was applied.
|
||||
|
||||
\membersection{wxDateTime::SetToWeekDay}{wxdatetimesettoweekday}
|
||||
\membersection{wxDateTime::SetToWeekDay}\label{wxdatetimesettoweekday}
|
||||
|
||||
\func{bool}{SetToWeekDay}{\param{WeekDay }{weekday}, \param{int }{n = 1}, \param{Month }{month = Inv\_Month}, \param{int }{year = Inv\_Year}}
|
||||
|
||||
@@ -1139,14 +1139,14 @@ second Wednesday in the current month and
|
||||
Returns {\tt TRUE} if the date was modified successfully, {\tt FALSE}
|
||||
otherwise meaning that the specified date doesn't exist.
|
||||
|
||||
\membersection{wxDateTime::GetWeekDay}{wxdatetimegetweekday}
|
||||
\membersection{wxDateTime::GetWeekDay}\label{wxdatetimegetweekday}
|
||||
|
||||
\constfunc{wxDateTime}{GetWeekDay}{\param{WeekDay }{weekday}, \param{int }{n = 1}, \param{Month }{month = Inv\_Month}, \param{int }{year = Inv\_Year}}
|
||||
|
||||
Returns the copy of this object to which
|
||||
\helpref{SetToWeekDay}{wxdatetimesettoweekday} was applied.
|
||||
|
||||
\membersection{wxDateTime::SetToLastWeekDay}{wxdatetimesettolastweekday}
|
||||
\membersection{wxDateTime::SetToLastWeekDay}\label{wxdatetimesettolastweekday}
|
||||
|
||||
\func{bool}{SetToLastWeekDay}{\param{WeekDay }{weekday}, \param{Month }{month = Inv\_Month}, \param{int }{year = Inv\_Year}}
|
||||
|
||||
@@ -1156,14 +1156,14 @@ The effect of calling this function is the same as of calling
|
||||
|
||||
Always returns {\tt TRUE}.
|
||||
|
||||
\membersection{wxDateTime::GetLastWeekDay}{wxdatetimegetlastweekday}
|
||||
\membersection{wxDateTime::GetLastWeekDay}\label{wxdatetimegetlastweekday}
|
||||
|
||||
\func{wxDateTime}{GetLastWeekDay}{\param{WeekDay }{weekday}, \param{Month }{month = Inv\_Month}, \param{int }{year = Inv\_Year}}
|
||||
|
||||
Returns the copy of this object to which
|
||||
\helpref{SetToLastWeekDay}{wxdatetimesettolastweekday} was applied.
|
||||
|
||||
\membersection{wxDateTime::SetToTheWeek}{wxdatetimesettotheweek}
|
||||
\membersection{wxDateTime::SetToTheWeek}\label{wxdatetimesettotheweek}
|
||||
|
||||
\func{bool}{SetToTheWeek}{\param{wxDateTime\_t }{numWeek}, \param{WeekDay }{weekday = Mon}}
|
||||
|
||||
@@ -1172,14 +1172,14 @@ Set the date to the given {\it weekday} in the week with given number
|
||||
be returned if the specified date doesn't exist. {\tt TRUE} is returned if the
|
||||
date was changed successfully.
|
||||
|
||||
\membersection{wxDateTime::GetWeek}{wxdatetimegetweek}
|
||||
\membersection{wxDateTime::GetWeek}\label{wxdatetimegetweek}
|
||||
|
||||
\constfunc{wxDateTime}{GetWeek}{\param{wxDateTime\_t }{numWeek}, \param{WeekDay }{weekday = Mon}}
|
||||
|
||||
Returns the copy of this object to which
|
||||
\helpref{SetToTheWeek}{wxdatetimesettotheweek} was applied.
|
||||
|
||||
\membersection{wxDateTime::SetToLastMonthDay}{wxdatetimesettolastmonthday}
|
||||
\membersection{wxDateTime::SetToLastMonthDay}\label{wxdatetimesettolastmonthday}
|
||||
|
||||
\func{wxDateTime\&}{SetToLastMonthDay}{\param{Month }{month = Inv\_Month}, \param{int }{year = Inv\_Year}}
|
||||
|
||||
@@ -1188,14 +1188,14 @@ default).
|
||||
|
||||
Returns the reference to the modified object itself.
|
||||
|
||||
\membersection{wxDateTime::GetLastMonthDay}{wxdatetimegetlastmonthday}
|
||||
\membersection{wxDateTime::GetLastMonthDay}\label{wxdatetimegetlastmonthday}
|
||||
|
||||
\constfunc{wxDateTime}{GetLastMonthDay}{\param{Month }{month = Inv\_Month}, \param{int }{year = Inv\_Year}}
|
||||
|
||||
Returns the copy of this object to which
|
||||
\helpref{SetToLastMonthDay}{wxdatetimesettolastmonthday} was applied.
|
||||
|
||||
\membersection{wxDateTime::SetToYearDay}{wxdatetimesettoyearday}
|
||||
\membersection{wxDateTime::SetToYearDay}\label{wxdatetimesettoyearday}
|
||||
|
||||
\func{wxDateTime\&}{SetToYearDay}{\param{wxDateTime\_t }{yday}}
|
||||
|
||||
@@ -1206,7 +1206,7 @@ the other ones.
|
||||
|
||||
Returns the reference to the modified object itself.
|
||||
|
||||
\membersection{wxDateTime::GetYearDay}{wxdatetimegetyearday}
|
||||
\membersection{wxDateTime::GetYearDay}\label{wxdatetimegetyearday}
|
||||
|
||||
\constfunc{wxDateTime}{GetYearDay}{\param{wxDateTime\_t }{yday}}
|
||||
|
||||
@@ -1215,7 +1215,7 @@ Returns the copy of this object to which
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%% astronomical functions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\membersection{wxDateTime::GetJulianDayNumber}{wxdatetimegetjuliandaynumber}
|
||||
\membersection{wxDateTime::GetJulianDayNumber}\label{wxdatetimegetjuliandaynumber}
|
||||
|
||||
\constfunc{double}{GetJulianDayNumber}{\void}
|
||||
|
||||
@@ -1226,13 +1226,13 @@ of rounding errors!
|
||||
|
||||
\helpref{GetModifiedJulianDayNumber}{wxdatetimegetmodifiedjuliandaynumber}
|
||||
|
||||
\membersection{wxDateTime::GetJDN}{wxdatetimegetjdn}
|
||||
\membersection{wxDateTime::GetJDN}\label{wxdatetimegetjdn}
|
||||
|
||||
\constfunc{double}{GetJDN}{\void}
|
||||
|
||||
Synonym for \helpref{GetJulianDayNumber}{wxdatetimegetjuliandaynumber}.
|
||||
|
||||
\membersection{wxDateTime::GetModifiedJulianDayNumber}{wxdatetimegetmodifiedjuliandaynumber}
|
||||
\membersection{wxDateTime::GetModifiedJulianDayNumber}\label{wxdatetimegetmodifiedjuliandaynumber}
|
||||
|
||||
\constfunc{double}{GetModifiedJulianDayNumber}{\void}
|
||||
|
||||
@@ -1241,13 +1241,13 @@ equal to $JDN - 2400000.5$. The MJDs are simpler to work with as the integral
|
||||
MJDs correspond to midnights of the dates in the Gregorian calendar and not th
|
||||
noons like JDN. The MJD $0$ is Nov 17, 1858.
|
||||
|
||||
\membersection{wxDateTime::GetMJD}{wxdatetimegetmjd}
|
||||
\membersection{wxDateTime::GetMJD}\label{wxdatetimegetmjd}
|
||||
|
||||
\constfunc{double}{GetMJD}{\void}
|
||||
|
||||
Synonym for \helpref{GetModifiedJulianDayNumber}{wxdatetimegetmodifiedjuliandaynumber}.
|
||||
|
||||
\membersection{wxDateTime::GetRataDie}{wxdatetimegetratadie}
|
||||
\membersection{wxDateTime::GetRataDie}\label{wxdatetimegetratadie}
|
||||
|
||||
\constfunc{double}{GetRataDie}{\void}
|
||||
|
||||
@@ -1259,7 +1259,7 @@ year 1 is Rata Die day 1.
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%% timezone and DST %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\membersection{wxDateTime::ToTimezone}{wxdatetimetotimezone}
|
||||
\membersection{wxDateTime::ToTimezone}\label{wxdatetimetotimezone}
|
||||
|
||||
\constfunc{wxDateTime}{ToTimezone}{\param{const TimeZone\& }{tz}, \param{bool }{noDST = FALSE}}
|
||||
|
||||
@@ -1268,28 +1268,28 @@ DST adjustments will be made.
|
||||
|
||||
Returns the date in the new time zone.
|
||||
|
||||
\membersection{wxDateTime::MakeTimezone}{wxdatetimemaketimezone}
|
||||
\membersection{wxDateTime::MakeTimezone}\label{wxdatetimemaketimezone}
|
||||
|
||||
\func{wxDateTime\&}{MakeTimezone}{\param{const TimeZone\& }{tz}, \param{bool }{noDST = FALSE}}
|
||||
|
||||
Modifies the object in place to represent the date in another time zone. If
|
||||
{\it noDST} is {\tt TRUE}, no DST adjustments will be made.
|
||||
|
||||
\membersection{wxDateTime::ToGMT}{wxdatetimetogmt}
|
||||
\membersection{wxDateTime::ToGMT}\label{wxdatetimetogmt}
|
||||
|
||||
\constfunc{wxDateTime}{ToGMT}{\param{bool }{noDST = FALSE}}
|
||||
|
||||
This is the same as calling \helpref{ToTimezone}{wxdatetimetotimezone} with
|
||||
the argument {\tt GMT0}.
|
||||
|
||||
\membersection{wxDateTime::MakeGMT}{wxdatetimemakegmt}
|
||||
\membersection{wxDateTime::MakeGMT}\label{wxdatetimemakegmt}
|
||||
|
||||
\func{wxDateTime\&}{MakeGMT}{\param{bool }{noDST = FALSE}}
|
||||
|
||||
This is the same as calling \helpref{MakeTimezone}{wxdatetimemaketimezone} with
|
||||
the argument {\tt GMT0}.
|
||||
|
||||
\membersection{wxDateTime::IsDST}{wxdatetimeisdst}
|
||||
\membersection{wxDateTime::IsDST}\label{wxdatetimeisdst}
|
||||
|
||||
\constfunc{int}{IsDST}{\param{Country }{country = Country\_Default}}
|
||||
|
||||
@@ -1307,3 +1307,4 @@ TODO
|
||||
\section{\class{wxDateTimeWorkDays}}\label{wxdatetimeworkdays}
|
||||
|
||||
TODO
|
||||
|
||||
|
Reference in New Issue
Block a user