Class Rfc3339DateJsonAdapter

java.lang.Object
com.squareup.moshi.JsonAdapter<Date>
com.squareup.moshi.Rfc3339DateJsonAdapter

public final class Rfc3339DateJsonAdapter extends com.squareup.moshi.JsonAdapter<Date>
Deprecated.
this class moved to avoid a package name conflict in the Java Platform Module System. The new class is com.squareup.moshi.adapters.Rfc3339DateJsonAdapter.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.squareup.moshi.JsonAdapter

    com.squareup.moshi.JsonAdapter.Factory
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(com.squareup.moshi.JsonReader reader)
    Deprecated.
     
    void
    toJson(com.squareup.moshi.JsonWriter writer, Date value)
    Deprecated.
     

    Methods inherited from class com.squareup.moshi.JsonAdapter

    failOnUnknown, fromJson, fromJson, fromJsonValue, indent, lenient, nonNull, nullSafe, serializeNulls, toJson, toJson, toJsonValue

    Methods inherited from class java.lang.Object

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

    • Rfc3339DateJsonAdapter

      public Rfc3339DateJsonAdapter()
      Deprecated.
  • Method Details

    • fromJson

      public Date fromJson(com.squareup.moshi.JsonReader reader) throws IOException
      Deprecated.
      Specified by:
      fromJson in class com.squareup.moshi.JsonAdapter<Date>
      Throws:
      IOException
    • toJson

      public void toJson(com.squareup.moshi.JsonWriter writer, Date value) throws IOException
      Deprecated.
      Specified by:
      toJson in class com.squareup.moshi.JsonAdapter<Date>
      Throws:
      IOException