Constructor and Description |
---|
DateDeserializer(String[] dateFormats)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Date |
deserialize(com.google.gson.JsonElement element,
Type arg1,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(Date src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public DateDeserializer(String[] dateFormats)
dateFormats
- the array of date formats.Copyright © 2018. All rights reserved.