Class GsonObjectMapper.CalendarSerializer
java.lang.Object
kong.unirest.modules.gson.GsonObjectMapper.DateTimeAdapter<Calendar>
kong.unirest.modules.gson.GsonObjectMapper.CalendarSerializer
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<Calendar>, com.google.gson.JsonSerializer<Calendar>
- Enclosing class:
GsonObjectMapper
private static class GsonObjectMapper.CalendarSerializer
extends GsonObjectMapper.DateTimeAdapter<Calendar>
-
Field Summary
Fields inherited from class GsonObjectMapper.DateTimeAdapter
FORMATS, FORMATTER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Calendar(package private) Calendarfrom(TemporalAccessor dt) com.google.gson.JsonElementserialize(Calendar calendar, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext) private ZonedDateTimeMethods inherited from class GsonObjectMapper.DateTimeAdapter
deserialize
-
Constructor Details
-
CalendarSerializer
private CalendarSerializer()
-
-
Method Details
-
serialize
-
from
- Specified by:
fromin classGsonObjectMapper.DateTimeAdapter<Calendar>
-
from
- Specified by:
fromin classGsonObjectMapper.DateTimeAdapter<Calendar>
-
toZonedInstance
-