public class ZonedDateTimeConverter extends Object implements com.google.gson.JsonSerializer<java.time.ZonedDateTime>, com.google.gson.JsonDeserializer<java.time.ZonedDateTime>
| Constructor and Description |
|---|
ZonedDateTimeConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.time.ZonedDateTime |
deserialize(com.google.gson.JsonElement jsonElement,
Type type,
com.google.gson.JsonDeserializationContext jsonDeserializationContext) |
com.google.gson.JsonElement |
serialize(java.time.ZonedDateTime t,
Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext) |
public com.google.gson.JsonElement serialize(java.time.ZonedDateTime t,
Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext)
serialize in interface com.google.gson.JsonSerializer<java.time.ZonedDateTime>public java.time.ZonedDateTime deserialize(com.google.gson.JsonElement jsonElement,
Type type,
com.google.gson.JsonDeserializationContext jsonDeserializationContext)
deserialize in interface com.google.gson.JsonDeserializer<java.time.ZonedDateTime>Copyright © 2020. All rights reserved.