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

Unified Diff: samples/solar3d/web/solar.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/solar/web/solar.dart ('k') | samples/swarm/DataSource.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/solar3d/web/solar.dart
diff --git a/samples/solar3d/web/solar.dart b/samples/solar3d/web/solar.dart
index bcc54ec81f1e36fd9e4c9ad9b84b8046d70deabc..3522d9b524c32ab7ef13f3a2a94090374f274305 100644
--- a/samples/solar3d/web/solar.dart
+++ b/samples/solar3d/web/solar.dart
@@ -221,7 +221,7 @@ class Solar3DApplication {
num renderTime;
void update(double time) {
- num t = new Date.now().millisecondsSinceEpoch;
+ num t = new DateTime.now().millisecondsSinceEpoch;
if (renderTime != null) {
showFps((1000 / (t - renderTime)).round());
« no previous file with comments | « samples/solar/web/solar.dart ('k') | samples/swarm/DataSource.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698