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

Unified Diff: runtime/vm/os.h

Issue 2069783002: Fix Windows time zone name extraction. Update API docs (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Take daylight savings from call return. Restore previous failure return. Created 4 years, 6 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 | « no previous file | runtime/vm/os_win.cc » ('j') | sdk/lib/core/date_time.dart » ('J')
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 ff61aaa52499cd55b2c1bdbfc3092d684e5cad2d..a86889b4c6240819911b1d14b0c24a61166fde71 100644
--- a/runtime/vm/os.h
+++ b/runtime/vm/os.h
@@ -25,8 +25,9 @@ class OS {
// Returns the current process id.
static intptr_t ProcessId();
- // Returns the abbreviated time-zone name for the given instant.
- // For example "CET" or "CEST".
+ // Returns a time-zone name for the given instant.
+ // The name is provided by the underlying platform.
+ // The returned string may be Zone allocated.
static const char* GetTimeZoneName(int64_t seconds_since_epoch);
// Returns the difference in seconds between local time and UTC for the given
« no previous file with comments | « no previous file | runtime/vm/os_win.cc » ('j') | sdk/lib/core/date_time.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698