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

Unified Diff: samples/ui_lib/touch/TimeUtil.dart

Issue 10538105: Make isUtc a getter, change some method names in Date. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 8 years, 6 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/ui_lib/base/AnimationScheduler.dart ('k') | samples/ui_lib/util/DateUtils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/ui_lib/touch/TimeUtil.dart
diff --git a/samples/ui_lib/touch/TimeUtil.dart b/samples/ui_lib/touch/TimeUtil.dart
index feaeecbc248d9fe181fed07c6493ec60fb63968a..f1131142b24e047242acdd04281ed6c8a532deec 100644
--- a/samples/ui_lib/touch/TimeUtil.dart
+++ b/samples/ui_lib/touch/TimeUtil.dart
@@ -9,6 +9,6 @@
*/
class TimeUtil {
static int now() {
- return new Date.now().value;
+ return new Date.now().millisecondsSinceEpoch;
}
}
« no previous file with comments | « samples/ui_lib/base/AnimationScheduler.dart ('k') | samples/ui_lib/util/DateUtils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698