Package kong.unirest.modules.gson
Class GsonObjectMapper.ZonedDateAdapter
- java.lang.Object
-
- kong.unirest.modules.gson.GsonObjectMapper.DateTimeAdapter<java.time.ZonedDateTime>
-
- kong.unirest.modules.gson.GsonObjectMapper.ZonedDateAdapter
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<java.time.ZonedDateTime>,com.google.gson.JsonSerializer<java.time.ZonedDateTime>
- Enclosing class:
- GsonObjectMapper
private static class GsonObjectMapper.ZonedDateAdapter extends GsonObjectMapper.DateTimeAdapter<java.time.ZonedDateTime>
-
-
Field Summary
-
Fields inherited from class kong.unirest.modules.gson.GsonObjectMapper.DateTimeAdapter
FORMATS, FORMATTER
-
-
Constructor Summary
Constructors Modifier Constructor Description privateZonedDateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.time.ZonedDateTimefrom(java.lang.Long millies)(package private) java.time.ZonedDateTimefrom(java.time.temporal.TemporalAccessor dt)-
Methods inherited from class kong.unirest.modules.gson.GsonObjectMapper.DateTimeAdapter
deserialize, serialize
-
-
-
-
Method Detail
-
from
java.time.ZonedDateTime from(java.lang.Long millies)
- Specified by:
fromin classGsonObjectMapper.DateTimeAdapter<java.time.ZonedDateTime>
-
from
java.time.ZonedDateTime from(java.time.temporal.TemporalAccessor dt)
- Specified by:
fromin classGsonObjectMapper.DateTimeAdapter<java.time.ZonedDateTime>
-
-