public class CalendarDeserializer extends com.fasterxml.jackson.databind.JsonDeserializer<GregorianCalendar>
Constructor and Description |
---|
CalendarDeserializer() |
Modifier and Type | Method and Description |
---|---|
GregorianCalendar |
deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
GregorianCalendar |
deserializeWithFormat(String stringDate,
int counter) |
protected List<String> |
getDateTimeFormats() |
public GregorianCalendar deserialize(com.fasterxml.jackson.core.JsonParser jp, com.fasterxml.jackson.databind.DeserializationContext ctxt) throws IOException
deserialize
in class com.fasterxml.jackson.databind.JsonDeserializer<GregorianCalendar>
IOException
public GregorianCalendar deserializeWithFormat(String stringDate, int counter) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2010–2016. All rights reserved.