X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19058c767032643f53367d1bc11df14e2474f15f..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/datetime.h diff --git a/interface/wx/datetime.h b/interface/wx/datetime.h index 9282ab32db..ecd0b73b3c 100644 --- a/interface/wx/datetime.h +++ b/interface/wx/datetime.h @@ -2,7 +2,6 @@ // Name: datetime.h // Purpose: interface of wxDateTime // Author: wxWidgets team -// RCS-ID: $Id$ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -482,7 +481,7 @@ public: /** Constructs the object from @a timet value holding the number of seconds - since Jan 1, 1970. + since Jan 1, 1970 UTC. If @a timet is invalid, i.e. @code (time_t)-1 @endcode, wxDateTime becomes invalid too, i.e. its IsValid() will return @false. @@ -668,8 +667,10 @@ public: unsigned short GetSecond(const TimeZone& tz = Local) const; /** - Returns the number of seconds since Jan 1, 1970. An assert failure will - occur if the date is not in the range covered by @c time_t type. + Returns the number of seconds since Jan 1, 1970 UTC. + + An assert failure will occur if the date is not in the range covered by + @c time_t type, use GetValue() if you work with dates outside of it. */ time_t GetTicks() const;