commonMain.com.algolia.search.model.ClientDate.kt Maven / Gradle / Ivy
package com.algolia.search.model
import com.algolia.search.model.internal.Raw
import com.algolia.search.serialize.KSerializerClientDate
import kotlinx.serialization.Serializable
/**
* Convert a [String] or [Long] date format into a platform specific Date object.
*/
@Serializable(KSerializerClientDate::class)
public expect class ClientDate internal constructor(raw: String) : Raw {
internal constructor(timestamp: Long)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy