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