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

Unified Diff: samples/ui_lib/util/DateUtils.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/touch/TimeUtil.dart ('k') | tests/co19/co19-leg.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/ui_lib/util/DateUtils.dart
diff --git a/samples/ui_lib/util/DateUtils.dart b/samples/ui_lib/util/DateUtils.dart
index d18983810591548bd5303a092e3bf0623a900398..063c646d16bc477620f596c71f2062f135596ee0 100644
--- a/samples/ui_lib/util/DateUtils.dart
+++ b/samples/ui_lib/util/DateUtils.dart
@@ -123,7 +123,7 @@ class DateUtils {
final now = new Date.now();
if (datesAreEqual(then, now)) {
return toHourMinutesString(new Duration(
- 0, then.hours, then.minutes, then.seconds, then.milliseconds));
+ 0, then.hour, then.minute, then.second, then.millisecond));
}
final today = new Date(now.year, now.month, now.day, 0, 0, 0, 0);
« no previous file with comments | « samples/ui_lib/touch/TimeUtil.dart ('k') | tests/co19/co19-leg.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698