Skip to content
Snippets Groups Projects
Commit 96304aa2 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: comparison requires default time zone to be +1; removed

parent ace9b8b2
No related branches found
No related tags found
No related merge requests found
......@@ -382,10 +382,6 @@ public class DateTimeTest {
Interval d = (Interval) DateTimeFactory2.valueOf("1-01-01T01:00:00+0200");
assertEquals("-0001-12-31T23:00:00+0000", d.toDateTimeString(TimeZone.getTimeZone("UTC")));
assertEquals(
"The default timezone is " + TimeZone.getDefault().toString(),
"0001-01-01T00:00:00+0100",
d.toDateTimeString(TimeZone.getDefault()));
d = (Interval) DateTimeFactory2.valueOf("-1-12-31T23:30:00+0000");
assertEquals("-0001-12-31T23:30:00+0000", d.toDateTimeString(TimeZone.getTimeZone("UTC")));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment