Closed islanderman closed 9 years ago
As discussed in #67, here's a simple test case that reproduces the issue. In #66 SerializationFeature.WRITE_DATES_WITH_ZONE_ID is supported, but the original TimeZone in DeserializationContext is not.
TimeZone
MAPPER.setTimeZone(TimeZone.getTimeZone("Europe/Paris")); Interval interval = MAPPER.readValue(quote("1396439982-1396440001"), Interval.class); assertEquals(1396439982, interval.getStartMillis()); assertEquals(1396440001, interval.getEndMillis()); assertEquals(ISOChronology.getInstance(DateTimeZone.forID("Europe/Paris")), interval.getChronology());
As discussed in #67, here's a simple test case that reproduces the issue. In #66 SerializationFeature.WRITE_DATES_WITH_ZONE_ID is supported, but the original
TimeZone
in DeserializationContext is not.