@Singleton public static class GsonModule.LongDateAdapter extends GsonModule.DateAdapter
Constructor and Description |
---|
GsonModule.LongDateAdapter() |
Modifier and Type | Method and Description |
---|---|
Date |
read(com.google.gson.stream.JsonReader reader) |
void |
write(com.google.gson.stream.JsonWriter writer,
Date value) |
public void write(com.google.gson.stream.JsonWriter writer, Date value) throws IOException
write
in class com.google.gson.TypeAdapter<Date>
IOException
public Date read(com.google.gson.stream.JsonReader reader) throws IOException
read
in class com.google.gson.TypeAdapter<Date>
IOException
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.