public class LongToDateTypeAdapter
extends com.google.gson.TypeAdapter<java.util.Date>
Constructor and Description |
---|
LongToDateTypeAdapter() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
java.util.Date value) |
public void write(com.google.gson.stream.JsonWriter out, java.util.Date value) throws java.io.IOException
write
in class com.google.gson.TypeAdapter<java.util.Date>
java.io.IOException
public java.util.Date read(com.google.gson.stream.JsonReader in) throws java.io.IOException
read
in class com.google.gson.TypeAdapter<java.util.Date>
java.io.IOException