| 构造器和说明 |
|---|
DateTypeAdapter() |
DateTypeAdapter(DateFormat dateFormat) |
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 在类中 com.google.gson.TypeAdapter<Date>IOExceptionpublic Date read(com.google.gson.stream.JsonReader in) throws IOException
read 在类中 com.google.gson.TypeAdapter<Date>IOExceptionCopyright © 2024. All rights reserved.