summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-11-25 14:48:11 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2022-12-05 23:04:13 +0100
commite94b0a0c9a61ce7a785b79d0c7371670aa3b2338 (patch)
tree770105597612f8fe11fb6e0ff326f5caf9214f61 /src/corelib
parentca57d3f6d415f699eb95cd32e62c96a363bb05fb (diff)
QDateTime::set{TimeSpec,TimeZone,OffsetFromUTC}: s/will/may/
There is no guarantee that a change to time representation will change the date and time of the result. Change-Id: Ib2d481236ca95638e1258baf4fe660b2f38fa229 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/time/qdatetime.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/time/qdatetime.cpp b/src/corelib/time/qdatetime.cpp
index 804eed96f9..980ffc5b3c 100644
--- a/src/corelib/time/qdatetime.cpp
+++ b/src/corelib/time/qdatetime.cpp
@@ -3690,7 +3690,7 @@ void QDateTime::setTime(QTime time)
/*!
Sets the time specification used in this datetime to \a spec.
- The datetime will refer to a different point in time.
+ The datetime may refer to a different point in time.
If \a spec is Qt::OffsetFromUTC then the timeSpec() will be set
to Qt::UTC, i.e. an effective offset of 0.
@@ -3717,7 +3717,7 @@ void QDateTime::setTimeSpec(Qt::TimeSpec spec)
\since 5.2
Sets the timeSpec() to Qt::OffsetFromUTC and the offset to \a offsetSeconds.
- The datetime will refer to a different point in time.
+ The datetime may refer to a different point in time.
The maximum and minimum offset is 14 positive or negative hours. If
\a offsetSeconds is larger or smaller than that, then the result is
@@ -3739,7 +3739,7 @@ void QDateTime::setOffsetFromUtc(int offsetSeconds)
\since 5.2
Sets the time zone used in this datetime to \a toZone.
- The datetime will refer to a different point in time.
+ The datetime may refer to a different point in time.
If \a toZone is invalid then the datetime will be invalid.