public class LongToDateTypeAdapter extends com.google.gson.TypeAdapter<Date>
| Constructor and Description |
|---|
LongToDateTypeAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Date |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
Date value) |
public void write(com.google.gson.stream.JsonWriter out,
Date value)
throws IOException
write in class com.google.gson.TypeAdapter<Date>IOExceptionpublic Date read(com.google.gson.stream.JsonReader in) throws IOException
read in class com.google.gson.TypeAdapter<Date>IOExceptionCopyright © 2015–2016. All rights reserved.