diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-11-17 20:08:54 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-12-05 23:04:13 +0100 |
commit | 930f1cef78e38d9e1db38819d66841746cf8b08b (patch) | |
tree | b2107ee32dae620eef4639ec02fd688dee406374 /src/corelib | |
parent | e4528eb77dfcc81bc6058279855cc1f3d0eea8ac (diff) |
Expand documentation of QTimeZone::M{in,ax}OffsetSecs
Also save some wanton line breaks in \value directives.
Change-Id: I16e0798d7474febb7946ece0ad57c80476f9d9e2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/time/qtimezone.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/corelib/time/qtimezone.cpp b/src/corelib/time/qtimezone.cpp index 1a9b208bfe..4d5e844b78 100644 --- a/src/corelib/time/qtimezone.cpp +++ b/src/corelib/time/qtimezone.cpp @@ -204,15 +204,15 @@ Q_GLOBAL_STATIC(QTimeZoneSingleton, global_tz); /*! \enum QTimeZone::anonymous + This enumeration provides constants bounding the range of plausible timezone + offsets from UTC, measured in seconds. Sane UTC offsets range from -14 to +14 hours. - No known zone > 12 hrs West of Greenwich (Baker Island, USA). - No known zone > 14 hrs East of Greenwich (Kiritimati, Christmas Island, Kiribati). + No known zone has offset > 12 hrs West of Greenwich (Baker Island, USA). + No known zone has offset > 14 hrs East of Greenwich (Kiritimati, Christmas Island, Kiribati). + Note that there are zones whose offsets differ by more than a day. - \value MinUtcOffsetSecs - -14 * 3600, - - \value MaxUtcOffsetSecs - +14 * 3600 + \value MinUtcOffsetSecs -14 * 3600, + \value MaxUtcOffsetSecs +14 * 3600 */ /*! |