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

Unified Diff: base/time/time.cc

Issue 2022913002: Revert of Add: check exploded time is properly converted (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « base/time/time.h ('k') | base/time/time_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/time.cc
diff --git a/base/time/time.cc b/base/time/time.cc
index 8b1a6d783baf329679d4c091e7093fb8bc302d4e..76ffeb744112d1909afa9b488bcfa277950225bb 100644
--- a/base/time/time.cc
+++ b/base/time/time.cc
@@ -261,14 +261,6 @@
result_time += kTimeTToMicrosecondsOffset;
*parsed_time = Time(result_time);
return true;
-}
-
-// static
-bool Time::ExplodedMostlyEquals(const Exploded& lhs, const Exploded& rhs) {
- return lhs.year == rhs.year && lhs.month == rhs.month &&
- lhs.day_of_month == rhs.day_of_month && lhs.hour == rhs.hour &&
- lhs.minute == rhs.minute && lhs.second == rhs.second &&
- lhs.millisecond == rhs.millisecond;
}
std::ostream& operator<<(std::ostream& os, Time time) {
« no previous file with comments | « base/time/time.h ('k') | base/time/time_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698