Package org.openhab.core.events
Class AbstractEventFactory.ZonedDateTimeAdapter
java.lang.Object
com.google.gson.TypeAdapter<ZonedDateTime>
org.openhab.core.events.AbstractEventFactory.ZonedDateTimeAdapter
- Enclosing class:
AbstractEventFactory
public static class AbstractEventFactory.ZonedDateTimeAdapter
extends com.google.gson.TypeAdapter<ZonedDateTime>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ZonedDateTime
read
(com.google.gson.stream.JsonReader in) void
write
(com.google.gson.stream.JsonWriter out, @Nullable ZonedDateTime value)
-
Constructor Details
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter out, @Nullable ZonedDateTime value) throws IOException - Specified by:
write
in classcom.google.gson.TypeAdapter<ZonedDateTime>
- Throws:
IOException
-
read
- Specified by:
read
in classcom.google.gson.TypeAdapter<ZonedDateTime>
- Throws:
IOException
-