Package com.apollographql.apollo3.adapter

Types

Link copied to clipboard
actual class BigDecimal : Number
expect class BigDecimal

A multiplatform BigDecimal

actual class BigDecimal
actual typealias BigDecimal = BigDecimal
Link copied to clipboard
object BigDecimalAdapter : Adapter<BigDecimal>

An Adapter that converts to/from BigDecimal

Link copied to clipboard
object DateAdapter : Adapter<Date>

An Adapter that converts an ISO 8601 String to/from a java.util.Date When writing, it discards the offset information.

Link copied to clipboard
object JavaInstantAdapter : Adapter<Instant>

An Adapter that converts an ISO 8601 String to/from a java.time.Instant When writing, it discards the offset information.

Link copied to clipboard
object JavaLocalDateAdapter : Adapter<LocalDate>

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

Link copied to clipboard
object JavaLocalDateTimeAdapter : Adapter<LocalDateTime>

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

Link copied to clipboard
object JavaLocalTimeAdapter : Adapter<LocalTime>

An Adapter that converts a time to/from java.time.LocalTime

Link copied to clipboard
object JavaOffsetDateTimeAdapter : Adapter<OffsetDateTime>

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

Link copied to clipboard
object KotlinxInstantAdapter : Adapter<Instant>

An Adapter that converts an ISO 8601 String like "2010-06-01T22:19:44.475Z" to/from a kotlinx.datetime.Instant

Link copied to clipboard
object KotlinxLocalDateAdapter : Adapter<LocalDate>

An Adapter that converts an ISO 8601 String like "2010-06-01" to/from a kotlinx.datetime.LocalDate

Link copied to clipboard
object KotlinxLocalDateTimeAdapter : Adapter<LocalDateTime>

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

Link copied to clipboard
object KotlinxLocalTimeAdapter : Adapter<LocalTime>

An Adapter that converts an ISO 8601 String like "14:35:00" to/from a kotlinx.datetime.LocalDate

Functions

Link copied to clipboard
actual fun BigDecimal.toNumber(): Number
expect fun BigDecimal.toNumber(): Number
actual fun BigDecimal.toNumber(): Number