toInstant
Deprecated (with error)
kotlinx.datetime.Instant is deprecated in favor of kotlin.time.Instant. Either migrate to kotlin.time.Instant and use toStdlibInstant() or use toDeprecatedInstant(). Will be ERROR in 1.0. and migrated to kotlin.time.Instant in 1.1.
Replace with
this.toDeprecatedInstant()Content copied to clipboard
Deprecated:
kotlinx.datetime.Instant is deprecated in favor of kotlin.time.Instant. Either migrate to kotlin.time.Instant and use toStdlibInstant or use toDeprecatedInstant. This function will be migrated to kotlin.time.Instant in 1.1.
For more information: See convert on the documentation website.