Skip to content
Snippets Groups Projects
Commit 0197d69d authored by Daniel's avatar Daniel
Browse files

Merge branch 'dev' of gitlab.gwdg.de:bmp-caosdb/caosdb-server into dev

parents 6c6fdb8d 589917d3
Branches
Tags
No related merge requests found
...@@ -382,10 +382,6 @@ public class DateTimeTest { ...@@ -382,10 +382,6 @@ public class DateTimeTest {
Interval d = (Interval) DateTimeFactory2.valueOf("1-01-01T01:00:00+0200"); Interval d = (Interval) DateTimeFactory2.valueOf("1-01-01T01:00:00+0200");
assertEquals("-0001-12-31T23:00:00+0000", d.toDateTimeString(TimeZone.getTimeZone("UTC"))); 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"); d = (Interval) DateTimeFactory2.valueOf("-1-12-31T23:30:00+0000");
assertEquals("-0001-12-31T23:30:00+0000", d.toDateTimeString(TimeZone.getTimeZone("UTC"))); 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