9
9
import java .time .LocalDateTime ;
10
10
import java .time .LocalTime ;
11
11
import java .time .OffsetDateTime ;
12
- import java .time .OffsetTime ;
13
12
import java .time .ZoneOffset ;
14
13
import java .time .ZonedDateTime ;
15
14
import java .time .temporal .ChronoUnit ;
@@ -139,20 +138,6 @@ public void testOffsetDateTime(TestContext context) {
139
138
);
140
139
}
141
140
142
- @ Test
143
- public void testOffsetTime (TestContext context ) {
144
- thing .offsetTime = OffsetTime
145
- .now ( ZoneOffset .ofHours ( 7 ) )
146
- .truncatedTo ( ChronoUnit .SECONDS );
147
-
148
- testField (
149
- context ,
150
- "offsetTime" ,
151
- thing ::getOffsetTime ,
152
- // Same behavior as ORM
153
- entity -> context .assertEquals ( thing .offsetTime , entity .offsetTime .withOffsetSameInstant ( ZoneOffset .ofHours ( 7 ) ) ) );
154
- }
155
-
156
141
@ Test
157
142
public void testZonedDateTime (TestContext context ) {
158
143
final ZoneOffset zoneOffset = ZoneOffset .ofHours ( 7 );
@@ -204,9 +189,6 @@ public static class Thing {
204
189
@ Column (name = "offsetDateTimeType" )
205
190
OffsetDateTime offsetDateTime ;
206
191
207
- @ Column (name = "offsetTimeType" )
208
- OffsetTime offsetTime ;
209
-
210
192
@ Column (name = "zonedDateTimeType" )
211
193
ZonedDateTime zonedDateTime ;
212
194
@@ -231,10 +213,6 @@ public OffsetDateTime getOffsetDateTime() {
231
213
return offsetDateTime ;
232
214
}
233
215
234
- public OffsetTime getOffsetTime () {
235
- return offsetTime ;
236
- }
237
-
238
216
public ZonedDateTime getZonedDateTime () {
239
217
return zonedDateTime ;
240
218
}
0 commit comments