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

Unified Diff: editor/util/debuggertest/pets.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: editor/util/debuggertest/pets.dart
diff --git a/editor/util/debuggertest/pets.dart b/editor/util/debuggertest/pets.dart
index 71464b3791514a316964666b1f36606a2a19096a..a2b63356fe1eea05388c7f12cdb67e16be5a3558 100644
--- a/editor/util/debuggertest/pets.dart
+++ b/editor/util/debuggertest/pets.dart
@@ -88,16 +88,16 @@ class Dog extends FloppyEars implements Animal {
int fleaCount;
- Date bornOn;
+ DateTime bornOn;
Dog(this.name) {
var rand = new Random();
fleaCount = rand.nextInt(10);
- bornOn = new Date.now();
+ bornOn = new DateTime.now();
}
Dog.withFleas(this.name, this.fleaCount) {
- bornOn = new Date.now();
+ bornOn = new DateTime.now();
}
bool livesWith(Animal other) => true;

Powered by Google App Engine
This is Rietveld 408576698