X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc2171bd4c660b8554dae2a1cbf34ff09f3032a6..7b4b24bca94555afc29762acfc5b100009bb29ff:/docs/latex/wx/tdate.tex diff --git a/docs/latex/wx/tdate.tex b/docs/latex/wx/tdate.tex index 7c81c9a637..06b14b681f 100644 --- a/docs/latex/wx/tdate.tex +++ b/docs/latex/wx/tdate.tex @@ -6,14 +6,14 @@ %% Created: 07.03.00 %% RCS-ID: $Id$ %% Copyright: (c) Vadim Zeitlin -%% License: wxWidgets license +%% License: wxWindows license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Date and time classes overview}\label{wxdatetimeoverview} Classes: \helpref{wxDateTime}{wxdatetime}, \helpref{wxDateSpan}{wxdatespan}, \helpref{wxTimeSpan}{wxtimespan}, \helpref{wxCalendarCtrl}{wxcalendarctrl} -\subsection{Introduction} +\subsection{Introduction}\label{introductiontowxdatetime} wxWidgets provides a set of powerful classes to work with dates and times. Some of the supported features of \helpref{wxDateTime}{wxdatetime} class are: @@ -32,12 +32,12 @@ format.} them is fast} \end{twocollist} -\subsection{All date/time classes at a glance} +\subsection{All date/time classes at a glance}\label{alldatetimeclasses} There are 3 main classes declared in {\tt }: except \helpref{wxDateTime}{wxdatetime} itself which represents an absolute moment in time, there are also two classes - -\helpref{wxTimeSpan}{wxtimespan} and \helpref{wxDateSpan}{wxdatespan} which +\helpref{wxTimeSpan}{wxtimespan} and \helpref{wxDateSpan}{wxdatespan} - which represent the intervals of time. There are also helper classes which are used together with wxDateTime: @@ -51,7 +51,7 @@ Finally, in other parts of this manual you may find mentions of wxDate and wxTime classes. \helpref{These classes}{tdatecompatibility} are obsolete and superseded by wxDateTime. -\subsection{wxDateTime characteristics} +\subsection{wxDateTime characteristics}\label{wxdatetimecharacteristics} \helpref{wxDateTime}{wxdatetime} stores the time as a signed number of milliseconds since the Epoch which is fixed, by convention, to Jan 1, 1970 - @@ -78,7 +78,7 @@ region, dependent). Future versions will probably have Julian calendar support as well and support for other calendars (Maya, Hebrew, Chinese...) is not ruled out. -\subsection{Difference between wxDateSpan and wxTimeSpan} +\subsection{Difference between wxDateSpan and wxTimeSpan}\label{dateandtimespansdifference} While there is only one logical way to represent an absolute moment in the time (and hence only one wxDateTime class), there are at least two methods to @@ -162,8 +162,8 @@ wxDateTime corresponding to the given date in, say, Pacific Standard Time. To do it, you will need to call \helpref{ToTimezone}{wxdatetimetotimezone} or \helpref{MakeTimezone}{wxdatetimemaketimezone} methods to adjust the date for the target time zone. There are also special versions of these functions -\helpref{ToGMT}{wxdatetimetogmt} and \helpref{MakeGMT}{wxdatetimemakegmt} for -the most common case - when the date should be constructed in GMT. +\helpref{ToUTC}{wxdatetimetoutc} and \helpref{MakeUTC}{wxdatetimemakeutc} for +the most common case - when the date should be constructed in UTC. You also can just retrieve the value for some time zone without converting the object to it first. For this you may pass TimeZone argument to any of the