More trying to fix tests

This commit is contained in:
James Agnew 2016-06-11 07:09:30 -05:00
parent 23840ecb7a
commit 34a3d7dbfd
1 changed files with 2 additions and 2 deletions

View File

@ -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);
} }