Class ZonedDateTimeDeserializer

java.lang.Object
dev.plex.util.adapter.ZonedDateTimeDeserializer
All Implemented Interfaces:
com.google.gson.JsonDeserializer<ZonedDateTime>

public class ZonedDateTimeDeserializer extends Object implements com.google.gson.JsonDeserializer<ZonedDateTime>
  • Field Details

    • TIMEZONE

      private static String TIMEZONE
  • Constructor Details

    • ZonedDateTimeDeserializer

      public ZonedDateTimeDeserializer()
  • Method Details

    • deserialize

      public ZonedDateTime deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
      Specified by:
      deserialize in interface com.google.gson.JsonDeserializer<ZonedDateTime>
      Throws:
      com.google.gson.JsonParseException