Index: samples/swarm/swarm_ui_lib/touch/TimeUtil.dart |
diff --git a/samples/swarm/swarm_ui_lib/touch/TimeUtil.dart b/samples/swarm/swarm_ui_lib/touch/TimeUtil.dart |
index dcf495263ad73719653ebcb47af72991d02d5c4e..4287f6dce8352a99c317cdcae9c5461782d94a45 100644 |
--- a/samples/swarm/swarm_ui_lib/touch/TimeUtil.dart |
+++ b/samples/swarm/swarm_ui_lib/touch/TimeUtil.dart |
@@ -11,6 +11,6 @@ part of touch; |
*/ |
class TimeUtil { |
static int now() { |
- return new Date.now().millisecondsSinceEpoch; |
+ return new DateTime.now().millisecondsSinceEpoch; |
} |
} |