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

Unified Diff: samples/clock/web/balls.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/chat/dart_client/chat.dart ('k') | samples/clock/web/clock.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/clock/web/balls.dart
diff --git a/samples/clock/web/balls.dart b/samples/clock/web/balls.dart
index d497c6dcd2cf1730e1e44d395e48225367bf2efd..acbad5415a3ad241ff4476edd15709860efdcd65 100644
--- a/samples/clock/web/balls.dart
+++ b/samples/clock/web/balls.dart
@@ -31,7 +31,7 @@ class Balls {
List<Ball> balls;
Balls() :
- lastTime = new Date.now().millisecondsSinceEpoch,
+ lastTime = new DateTime.now().millisecondsSinceEpoch,
balls = new List<Ball>() {
root = new DivElement();
document.body.nodes.add(root);
« no previous file with comments | « samples/chat/dart_client/chat.dart ('k') | samples/clock/web/clock.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698