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