Package kong.unirest.gson
Class GsonObjectMapper.ZonedDateAdapter
- java.lang.Object
-
- kong.unirest.gson.GsonObjectMapper.DateTimeAdapter<java.time.ZonedDateTime>
-
- kong.unirest.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.gson.GsonObjectMapper.DateTimeAdapter
FORMATS, FORMATTER
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ZonedDateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.time.ZonedDateTime
from(java.lang.Long millies)
(package private) java.time.ZonedDateTime
from(java.time.temporal.TemporalAccessor dt)
-
Methods inherited from class kong.unirest.gson.GsonObjectMapper.DateTimeAdapter
deserialize, serialize
-
-
-
-
Method Detail
-
from
java.time.ZonedDateTime from(java.lang.Long millies)
- Specified by:
from
in classGsonObjectMapper.DateTimeAdapter<java.time.ZonedDateTime>
-
from
java.time.ZonedDateTime from(java.time.temporal.TemporalAccessor dt)
- Specified by:
from
in classGsonObjectMapper.DateTimeAdapter<java.time.ZonedDateTime>
-
-