More trying to fix tests
This commit is contained in:
parent
23840ecb7a
commit
34a3d7dbfd
|
@ -52,11 +52,11 @@ public class BaseDateTimeDtDstu2Test {
|
||||||
@Test
|
@Test
|
||||||
public void testEncodeZeroOffset() {
|
public void testEncodeZeroOffset() {
|
||||||
DateTimeDt dt = new DateTimeDt();
|
DateTimeDt dt = new DateTimeDt();
|
||||||
dt.setValueAsString("2011-01-01T12:00:00");
|
dt.setValueAsString("2011-01-01T12:00:00-04:00");
|
||||||
dt.setTimeZone(TimeZone.getTimeZone("GMT-0:00"));
|
dt.setTimeZone(TimeZone.getTimeZone("GMT-0:00"));
|
||||||
|
|
||||||
String val = dt.getValueAsString();
|
String val = dt.getValueAsString();
|
||||||
assertEquals("2011-01-01T18:00:00+00:00", val);
|
assertEquals("2011-01-01T16:00:00+00:00", val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue