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