From ca4ea87ed3186662d59d0b07816f0c99b28c31b3 Mon Sep 17 00:00:00 2001 From: Qinfeng Chen Date: Wed, 18 Jul 2018 17:01:38 +0100 Subject: [PATCH] remove ZonedDateTime tests --- .../com/palantir/conjure/java/types/WireFormatTests.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/conjure-java-core/src/test/java/com/palantir/conjure/java/types/WireFormatTests.java b/conjure-java-core/src/test/java/com/palantir/conjure/java/types/WireFormatTests.java index 8d2f7b49f..2e35a49c3 100644 --- a/conjure-java-core/src/test/java/com/palantir/conjure/java/types/WireFormatTests.java +++ b/conjure-java-core/src/test/java/com/palantir/conjure/java/types/WireFormatTests.java @@ -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; @@ -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();