public class LocalDateTimeISOAdapter extends com.google.gson.TypeAdapter<LocalDateTime>
| Constructor and Description |
|---|
LocalDateTimeISOAdapter() |
| Modifier and Type | Method and Description |
|---|---|
LocalDateTime |
read(com.google.gson.stream.JsonReader jsonReader) |
void |
write(com.google.gson.stream.JsonWriter jsonWriter,
LocalDateTime date) |
public void write(com.google.gson.stream.JsonWriter jsonWriter,
LocalDateTime date)
throws IOException
write in class com.google.gson.TypeAdapter<LocalDateTime>IOExceptionpublic LocalDateTime read(com.google.gson.stream.JsonReader jsonReader) throws IOException
read in class com.google.gson.TypeAdapter<LocalDateTime>IOExceptionCopyright © 2016. All rights reserved.