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