public class DateDeserializer
extends java.lang.Object
implements com.google.gson.JsonDeserializer<java.util.Date>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATE_UTC
The Constant DATE_UTC.
|
Constructor and Description |
---|
DateDeserializer() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
public static final java.lang.String DATE_UTC
public java.util.Date deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<java.util.Date>
com.google.gson.JsonParseException