Class Rfc3339DateJsonAdapter


  • public final class Rfc3339DateJsonAdapter
    extends com.squareup.moshi.JsonAdapter<java.util.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
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.util.Date fromJson​(com.squareup.moshi.JsonReader reader)
      Deprecated.
       
      void toJson​(com.squareup.moshi.JsonWriter writer, java.util.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 Detail

      • Rfc3339DateJsonAdapter

        public Rfc3339DateJsonAdapter()
        Deprecated.
    • Method Detail

      • fromJson

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

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