From: Kai Moritz Date: Tue, 15 Aug 2017 17:58:02 +0000 (+0200) Subject: Implemented a mechanism to set the offset/time-zone to use for conversions X-Git-Tag: jpa-converters-1.0.0~13 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=1870491f00f6d583d6ebe9270bf69e13633c1bf7;p=jpa-converters Implemented a mechanism to set the offset/time-zone to use for conversions --- diff --git a/src/main/java/de/juplo/jpa/converters/OffsetDateTimeConverter.java b/src/main/java/de/juplo/jpa/converters/OffsetDateTimeConverter.java index 3228aca..3c4365f 100644 --- a/src/main/java/de/juplo/jpa/converters/OffsetDateTimeConverter.java +++ b/src/main/java/de/juplo/jpa/converters/OffsetDateTimeConverter.java @@ -2,7 +2,6 @@ package de.juplo.jpa.converters; import java.sql.Timestamp; import java.time.OffsetDateTime; -import java.time.ZoneOffset; import javax.persistence.AttributeConverter; import javax.persistence.Converter; @@ -19,7 +18,7 @@ public class OffsetDateTimeConverter implements AttributeConverter