| Constructor | Description |
|---|---|
DateTypeAdapter() |
|
DateTypeAdapter(DateFormat dateFormat) |
| Modifier and Type | Method | Description |
|---|---|---|
Date |
read(com.google.gson.stream.JsonReader in) |
|
void |
setFormat(DateFormat dateFormat) |
|
void |
write(com.google.gson.stream.JsonWriter out,
Date date) |
public DateTypeAdapter()
public DateTypeAdapter(DateFormat dateFormat)
public void setFormat(DateFormat dateFormat)
public void write(com.google.gson.stream.JsonWriter out,
Date date)
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 © 2025. All rights reserved.