public class JSONWriter.DateTimeAdapter extends com.google.gson.TypeAdapter<ZonedDateTime>
Constructor and Description |
---|
DateTimeAdapter() |
Modifier and Type | Method and Description |
---|---|
ZonedDateTime |
read(com.google.gson.stream.JsonReader jsonReader) |
void |
write(com.google.gson.stream.JsonWriter jsonWriter,
ZonedDateTime dateTime) |
public void write(com.google.gson.stream.JsonWriter jsonWriter, ZonedDateTime dateTime) throws IOException
write
in class com.google.gson.TypeAdapter<ZonedDateTime>
IOException
public ZonedDateTime read(com.google.gson.stream.JsonReader jsonReader) throws IOException
read
in class com.google.gson.TypeAdapter<ZonedDateTime>
IOException
Copyright © 2019. All rights reserved.