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