Class ZonedDateTimeSerializer

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

public class ZonedDateTimeSerializer extends Object implements com.google.gson.JsonSerializer<ZonedDateTime>
  • Field Details

    • TIMEZONE

      private static final String TIMEZONE
  • Constructor Details

    • ZonedDateTimeSerializer

      public ZonedDateTimeSerializer()
  • Method Details

    • serialize

      public com.google.gson.JsonElement serialize(ZonedDateTime src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
      Specified by:
      serialize in interface com.google.gson.JsonSerializer<ZonedDateTime>