JavaLocalDateAdapter

Deprecated

JavaLocalDateAdapter has new maven coordinates at 'com.apollographql.adapters:apollo-adapters-core. See https://go.apollo.dev/ak-moved-artifacts for more details.

An Adapter that converts a date to/from java.time.LocalDate

Examples:

  • "2010-06-01"

It requires Android Gradle plugin 4.0 or newer and core library desugaring.

Functions

Link copied to clipboard
open override fun fromJson(reader: JsonReader, customScalarAdapters: CustomScalarAdapters): LocalDate
Link copied to clipboard
open override fun toJson(writer: JsonWriter, customScalarAdapters: CustomScalarAdapters, value: LocalDate)