Package de.xima.fc.helper
Class GsonJavaTimeAdapter.MonthDayAdapter
- java.lang.Object
-
- com.google.gson.TypeAdapter<MonthDay>
-
- de.xima.fc.helper.GsonJavaTimeAdapter.MonthDayAdapter
-
- Enclosing class:
- GsonJavaTimeAdapter
public static class GsonJavaTimeAdapter.MonthDayAdapter extends com.google.gson.TypeAdapter<MonthDay>
Type adapter forMonthDay. Serialized representation is a JSON object with themonthanddayproperties.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description MonthDayAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonthDayread(com.google.gson.stream.JsonReader in)voidwrite(com.google.gson.stream.JsonWriter out, MonthDay value)
-
-
-
Method Detail
-
read
public MonthDay read(com.google.gson.stream.JsonReader in) throws IOException
- Specified by:
readin classcom.google.gson.TypeAdapter<MonthDay>- Throws:
IOException
-
write
public void write(com.google.gson.stream.JsonWriter out, MonthDay value) throws IOException- Specified by:
writein classcom.google.gson.TypeAdapter<MonthDay>- Throws:
IOException
-
-