Skip to content

Commit

Permalink
remove ZonedDateTime tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qinfchen committed Jul 18, 2018
1 parent 4bfaccb commit ca4ea87
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.nio.ByteBuffer;
import java.time.OffsetDateTime;
import java.time.ZoneOffset;
import java.time.ZonedDateTime;
import java.util.Set;
import java.util.UUID;
import org.junit.Rule;
Expand Down Expand Up @@ -272,9 +271,9 @@ public void testDateTimeType_acceptFormats() throws Exception {
}
@Test
public void testDateTimeType_equality() throws Exception {
ZonedDateTime aa = ZonedDateTime.parse("2017-01-02T03:04:05.000000006Z");
ZonedDateTime bb = ZonedDateTime.parse("2017-01-02T03:04:05.000000006+00:00");
ZonedDateTime cc = ZonedDateTime.parse("2017-01-02T04:04:05.000000006+01:00");
OffsetDateTime aa = OffsetDateTime.parse("2017-01-02T03:04:05.000000006Z");
OffsetDateTime bb = OffsetDateTime.parse("2017-01-02T03:04:05.000000006+00:00");
OffsetDateTime cc = OffsetDateTime.parse("2017-01-02T04:04:05.000000006+01:00");

assertThat(aa.isEqual(bb)).isTrue();
assertThat(aa.isEqual(cc)).isTrue();
Expand Down

0 comments on commit ca4ea87

Please sign in to comment.