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

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: 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
Index: samples/solar3d/web/solar.dart
diff --git a/samples/solar3d/web/solar.dart b/samples/solar3d/web/solar.dart
index 3057c4883aeb7dba5f20783d3fca07e8807d8d42..7b01840a051c659ed8981bf91752cceb91067421 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/solar.dart ('k') | samples/swarm/DataSource.dart » ('j') | sdk/lib/core/date.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698