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

Unified Diff: tests/corelib/core_runtime_types_test.dart

Issue 10411057: Deprecate use of timezones. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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: tests/corelib/core_runtime_types_test.dart
diff --git a/tests/corelib/core_runtime_types_test.dart b/tests/corelib/core_runtime_types_test.dart
index c017de003d7ea9913377c7f4d2daa50c1837190b..36f060d5d0c0026162c0060b9f97d4fcdf38941c 100644
--- a/tests/corelib/core_runtime_types_test.dart
+++ b/tests/corelib/core_runtime_types_test.dart
@@ -260,7 +260,7 @@ class CoreRuntimeTypesTest {
static testDateMethods() {
var msec = 115201000;
- var d = new Date.fromEpoch(msec, const TimeZone.utc());
+ var d = new Date.fromEpoch(msec, isUtc: true);
assertEquals(d.seconds, 1);
assertEquals(d.year, 1970);

Powered by Google App Engine
This is Rietveld 408576698