Commit e19aebc0 authored by tnagel@chromium.org's avatar tnagel@chromium.org

Document more explicitly that Time lives in UTC.

BUG=none

Review URL: https://codereview.chromium.org/288463007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270134 0039d316-1c4b-4281-b951-d872f2087c98
parent 6ace8c4f
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Time represents an absolute point in time, internally represented as // Time represents an absolute point in coordinated universal time (UTC),
// microseconds (s/1,000,000) since the Windows epoch (1601-01-01 00:00:00 UTC) // internally represented as microseconds (s/1,000,000) since the Windows epoch
// (See http://crbug.com/14734). System-dependent clock interface routines are // (1601-01-01 00:00:00 UTC) (See http://crbug.com/14734). System-dependent
// defined in time_PLATFORM.cc. // clock interface routines are defined in time_PLATFORM.cc.
// //
// TimeDelta represents a duration of time, internally represented in // TimeDelta represents a duration of time, internally represented in
// microseconds. // microseconds.
...@@ -208,7 +208,7 @@ inline TimeDelta operator*(int64 a, TimeDelta td) { ...@@ -208,7 +208,7 @@ inline TimeDelta operator*(int64 a, TimeDelta td) {
// Time ----------------------------------------------------------------------- // Time -----------------------------------------------------------------------
// Represents a wall clock time. // Represents a wall clock time in UTC.
class BASE_EXPORT Time { class BASE_EXPORT Time {
public: public:
static const int64 kMillisecondsPerSecond = 1000; static const int64 kMillisecondsPerSecond = 1000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment