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

Unified Diff: runtime/vm/os.h

Issue 10399106: Revert "Add support for timezone offset and timezone name." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/os_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os.h
diff --git a/runtime/vm/os.h b/runtime/vm/os.h
index 490098384157069746296281526e4ef25edb784c..2c0fbb93cc704e202c85b489be3a7dc94ef469bb 100644
--- a/runtime/vm/os.h
+++ b/runtime/vm/os.h
@@ -42,17 +42,6 @@ class OS {
// Returns true if the conversion succeeds, false otherwise.
static bool MkTime(tm* tm, int64_t* seconds_result);
- // Returns the abbreviated time-zone name for the given instant.
- // For example "CET" or "CEST".
- static bool GetTimeZoneName(int64_t seconds_since_epoch,
- const char** name_result);
-
- // Returns the difference in seconds between local time and UTC for the given
- // instant.
- // For example 3600 for CET, and 7200 for CEST.
- static bool GetTimeZoneOffsetInSeconds(int64_t seconds_since_epoch,
- int* offset_result);
-
// Returns the current time in milliseconds measured
// from midnight January 1, 1970 UTC.
static int64_t GetCurrentTimeMillis();
« no previous file with comments | « runtime/vm/bootstrap_natives.h ('k') | runtime/vm/os_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698