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