From 930f1cef78e38d9e1db38819d66841746cf8b08b Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Thu, 17 Nov 2022 20:08:54 +0100 Subject: Expand documentation of QTimeZone::M{in,ax}OffsetSecs Also save some wanton line breaks in \value directives. Change-Id: I16e0798d7474febb7946ece0ad57c80476f9d9e2 Reviewed-by: Thiago Macieira --- src/corelib/time/qtimezone.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/corelib') 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 */ /*! -- cgit v1.2.3