Index: include/core/SkTime.h |
diff --git a/include/core/SkTime.h b/include/core/SkTime.h |
index 51616d41c741f724ec365243a5aeab6d0ad26faa..a8656347aa610c45d3c155b478af5d7c0a25a66f 100644 |
--- a/include/core/SkTime.h |
+++ b/include/core/SkTime.h |
@@ -12,12 +12,16 @@ |
#include "SkTypes.h" |
+class SkString; |
+ |
/** \class SkTime |
Platform-implemented utilities to return time of day, and millisecond counter. |
*/ |
class SkTime { |
public: |
struct DateTime { |
+ int16_t fTimeZoneMinutes; // The number of minutes that GetDateTime() |
+ // is ahead of or behind UTC. |
uint16_t fYear; //!< e.g. 2005 |
uint8_t fMonth; //!< 1..12 |
uint8_t fDayOfWeek; //!< 0..6, 0==Sunday |
@@ -25,6 +29,8 @@ public: |
uint8_t fHour; //!< 0..23 |
uint8_t fMinute; //!< 0..59 |
uint8_t fSecond; //!< 0..59 |
+ |
+ void toISO8601(SkString* dst) const; |
}; |
static void GetDateTime(DateTime*); |