KotlinxLocalDateTimeAdapter

Deprecated

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

An Adapter that converts an ISO 8601 String without time zone information like "2010-06-01T22:19:44.475" to/from a kotlinx.datetime.LocalDateTime

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): LocalDateTime
Link copied to clipboard
open override fun toJson(writer: JsonWriter, customScalarAdapters: CustomScalarAdapters, value: LocalDateTime)