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

Unified Diff: samples/third_party/dromaeo/common/BenchUtil.dart

Issue 11770004: Rename Date to DateTime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and keep Backwards-compatibility class Date. Created 7 years, 11 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 | « samples/swarm/swarm_ui_lib/util/DateUtils.dart ('k') | samples/third_party/dromaeo/tests/RunnerSuite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/third_party/dromaeo/common/BenchUtil.dart
diff --git a/samples/third_party/dromaeo/common/BenchUtil.dart b/samples/third_party/dromaeo/common/BenchUtil.dart
index 2d0a487bf63e9f539f78f97782968ada6eab0456..6e9b45d9777fa3856f696aa8b74f1c329c0ac4c8 100644
--- a/samples/third_party/dromaeo/common/BenchUtil.dart
+++ b/samples/third_party/dromaeo/common/BenchUtil.dart
@@ -8,7 +8,7 @@ part of common;
class BenchUtil {
static int get now {
- return new Date.now().millisecondsSinceEpoch;
+ return new DateTime.now().millisecondsSinceEpoch;
}
static Map<String, Object> deserialize(String data) {
« no previous file with comments | « samples/swarm/swarm_ui_lib/util/DateUtils.dart ('k') | samples/third_party/dromaeo/tests/RunnerSuite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698