Class CompatibleDateTypeAdapter

java.lang.Object
com.google.gson.TypeAdapter<Date>
io.datarouter.gson.typeadapter.CompatibleDateTypeAdapter

public class CompatibleDateTypeAdapter extends com.google.gson.TypeAdapter<Date>
  • Constructor Details

    • CompatibleDateTypeAdapter

      public CompatibleDateTypeAdapter()
  • Method Details

    • read

      public Date read(com.google.gson.stream.JsonReader in) throws IOException
      Specified by:
      read in class com.google.gson.TypeAdapter<Date>
      Throws:
      IOException
    • write

      public void write(com.google.gson.stream.JsonWriter out, Date value) throws IOException
      Specified by:
      write in class com.google.gson.TypeAdapter<Date>
      Throws:
      IOException