Index: tests/corelib/date_time_parse_test.dart |
diff --git a/tests/corelib/date_time_parse_test.dart b/tests/corelib/date_time_parse_test.dart |
index a8b9827d13a35cb2dcc0c1bb392bbbe4db043d59..2f489238566e8fc2b1198823dacfb6833de976bf 100644 |
--- a/tests/corelib/date_time_parse_test.dart |
+++ b/tests/corelib/date_time_parse_test.dart |
@@ -23,4 +23,16 @@ main() { |
check(new DateTime.utc(2012, 02, 27, 14), "2012-02-27T14+0000"); |
check(new DateTime.utc(2012, 02, 27, 14), "2012-02-27T14+00:00"); |
check(new DateTime.utc(2012, 02, 27, 14), "2012-02-27T14 +00:00"); |
+ |
+ check(new DateTime.utc(2015, 02, 14, 13, 0, 0, 0), |
+ "2015-02-15T00:00+11"); |
+ check(new DateTime.utc(2015, 02, 14, 13, 0, 0, 0), |
+ "2015-02-15T00:00:00+11"); |
+ check(new DateTime.utc(2015, 02, 14, 13, 0, 0, 0), |
+ "2015-02-15T00:00:00+11:00"); |
+ |
+ check(new DateTime.utc(2015, 02, 15, 0, 0, 0, 501), |
+ "2015-02-15T00:00:00.5005Z"); |
+ check(new DateTime.utc(2015, 02, 15, 0, 0, 0, 512), |
+ "2015-02-15T00:00:00.5115Z"); |
} |