Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3099)

Unified Diff: base/time/time.h

Issue 1988663002: Add: check exploded time is properly converted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: handling local and utc times + unittests Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/time/time.cc » ('j') | base/time/time.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time.h
diff --git a/base/time/time.h b/base/time/time.h
index 9fce71b581e4ca27c216e31cb40ab78b867760ea..af55ecd7ce0a6fd4d7a5926b69641fcd1fd8d792 100644
--- a/base/time/time.h
+++ b/base/time/time.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
mmenke 2016/05/18 17:32:00 You shouldn't update copyright dates when updating
maksims (do not use this acc) 2016/05/19 09:57:20 Done.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -420,6 +420,7 @@ class BASE_EXPORT Time : public time_internal::TimeBase<Time> {
// respective ranges. A 'true' return value does not guarantee the
// Exploded value can be successfully converted to a Time value.
bool HasValidValues() const;
+ bool operator!=(const Exploded& rhs);
eroman 2016/05/18 19:35:17 I don't think we want to call this operator!=().
Mark Mentovai 2016/05/18 20:07:15 I had the same comment as a draft, then I went to
maksims (do not use this acc) 2016/05/19 09:57:20 Ok!
};
// Contains the NULL time. Use Time::Now() to get the current time.
« no previous file with comments | « no previous file | base/time/time.cc » ('j') | base/time/time.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698