Skip to content

Commit 7a46341

Browse files
committed
add JsonFormat.Feature#ADJUST_DATES_TO_CONTEXT_TIME_ZONE to override the same DeserializationFeature
1 parent c05a41e commit 7a46341

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/main/java/com/fasterxml/jackson/annotation/JsonFormat.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,14 @@ public enum Feature {
260260
* serialization.
261261
*/
262262
WRITE_SORTED_MAP_ENTRIES,
263-
;
263+
264+
/**
265+
* Override for <code>DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIMEZONE</code>
266+
* that specifies whether context provided timezone
267+
* <code>DeserializationContext.getTimeZone()</code> should be used to adjust Date/Time
268+
* values on deserialization, even if value itself contains timezone information
269+
*/
270+
ADJUST_DATES_TO_CONTEXT_TIME_ZONE
264271
}
265272

266273
/**

0 commit comments

Comments
 (0)