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

Unified Diff: runtime/lib/date.cc

Issue 1493033003: Add microsecond support to DateTime. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Minor rename. Created 5 years 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/lib/date_patch.dart » ('j') | runtime/lib/date_patch.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/date.cc
diff --git a/runtime/lib/date.cc b/runtime/lib/date.cc
index 67891b9fcb45622f684714b12c33065fb72eb954..aee94804e09dc93613d875bb46c77c970d425b8a 100644
--- a/runtime/lib/date.cc
+++ b/runtime/lib/date.cc
@@ -44,8 +44,8 @@ DEFINE_NATIVE_ENTRY(DateNatives_localTimeZoneAdjustmentInSeconds, 0) {
}
-DEFINE_NATIVE_ENTRY(DateNatives_currentTimeMillis, 0) {
- return Integer::New(OS::GetCurrentTimeMillis());
+DEFINE_NATIVE_ENTRY(DateNatives_currentTimeMicros, 0) {
+ return Integer::New(OS::GetCurrentTimeMicros());
}
} // namespace dart
« no previous file with comments | « no previous file | runtime/lib/date_patch.dart » ('j') | runtime/lib/date_patch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698