Class Java8DateTypeAdapter

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

@Deprecated public class Java8DateTypeAdapter extends com.google.gson.TypeAdapter<Date>
Deprecated.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    read(com.google.gson.stream.JsonReader in)
    Deprecated.
     
    void
    write(com.google.gson.stream.JsonWriter out, Date value)
    Deprecated.
     

    Methods inherited from class com.google.gson.TypeAdapter

    fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Java8DateTypeAdapter

      public Java8DateTypeAdapter()
      Deprecated.
  • Method Details

    • write

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

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