Make it clear that the number of ticks is counted since the same moment in all
time zones.
See #13098.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74422
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/**
Constructs the object from @a timet value holding the number of seconds
/**
Constructs the object from @a timet value holding the number of seconds
If @a timet is invalid, i.e. @code (time_t)-1 @endcode, wxDateTime
becomes invalid too, i.e. its IsValid() will return @false.
If @a timet is invalid, i.e. @code (time_t)-1 @endcode, wxDateTime
becomes invalid too, i.e. its IsValid() will return @false.
unsigned short GetSecond(const TimeZone& tz = Local) const;
/**
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;
*/
time_t GetTicks() const;