Skip to content

Commit 60de92a

Browse files
authored
Merge pull request #94 from joxerTMD/jsonFormatTZFeature
add JsonFormat.Feature#ADJUST_DATES_TO_CONTEXT_TIME_ZONE
2 parents aa5201f + 7a46341 commit 60de92a

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
@@ -263,7 +263,14 @@ public enum Feature {
263263
* serialization.
264264
*/
265265
WRITE_SORTED_MAP_ENTRIES,
266-
;
266+
267+
/**
268+
* Override for <code>DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIMEZONE</code>
269+
* that specifies whether context provided timezone
270+
* <code>DeserializationContext.getTimeZone()</code> should be used to adjust Date/Time
271+
* values on deserialization, even if value itself contains timezone information
272+
*/
273+
ADJUST_DATES_TO_CONTEXT_TIME_ZONE
267274
}
268275

269276
/**

0 commit comments

Comments
 (0)