diff options
Diffstat (limited to 'base/time_mac.cc')
-rw-r--r-- | base/time_mac.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/base/time_mac.cc b/base/time_mac.cc index e5391be..3e5e14a 100644 --- a/base/time_mac.cc +++ b/base/time_mac.cc @@ -41,6 +41,12 @@ Time Time::Now() { } // static +Time Time::NowFromSystemTime() { + // Just use Now() because Now() returns the system time. + return Now(); +} + +// static Time Time::FromExploded(bool is_local, const Exploded& exploded) { CFGregorianDate date; date.second = exploded.second + |