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

Unified Diff: include/core/SkTime.h

Issue 1109593002: SkTime: return timezone information (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: verification code Created 5 years, 8 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 | « gyp/core.gypi ('k') | src/core/SkTime.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkTime.h
diff --git a/include/core/SkTime.h b/include/core/SkTime.h
index 51616d41c741f724ec365243a5aeab6d0ad26faa..90decec8c628f67e904f30b79e4cb6087dc73650 100644
--- a/include/core/SkTime.h
+++ b/include/core/SkTime.h
@@ -12,6 +12,8 @@
#include "SkTypes.h"
+class SkString;
+
/** \class SkTime
Platform-implemented utilities to return time of day, and millisecond counter.
*/
@@ -25,6 +27,9 @@ public:
uint8_t fHour; //!< 0..23
uint8_t fMinute; //!< 0..59
uint8_t fSecond; //!< 0..59
+ int16_t fTimeZoneMinutes; // The number of minutes that GetDateTime()
reed1 2015/04/27 20:49:11 can we move this before or after fYear, to keep th
hal.canary 2015/04/28 02:35:30 Done.
+ // is ahead of or behind UTC.
+ void toISO8601(SkString* dst);
reed1 2015/04/27 20:49:11 const?
hal.canary 2015/04/28 02:35:30 Done.
};
static void GetDateTime(DateTime*);
« no previous file with comments | « gyp/core.gypi ('k') | src/core/SkTime.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698