toDeprecatedInstant

Deprecated

kotlinx.datetime.Instant is deprecated in favor of kotlin.time.Instant. Migrate to kotlin.time.Instant and use toStdlibInstant() at your own pace. Will be ERROR in 1.1.

Replace with

this.toStdlibInstant()

Converts values in the String columns previously selected with convert to kotlinx.datetime.Instant, preserving their original names and positions within the DataFrame. Preserves null values.

For more information: See convert on the documentation website.

Examples:

df.convert { timestamp }.toDeprecatedInstant()

Migrate to kotlin.time.Instant and use convertToStdlibInstant at your own pace.

Return

A new DataFrame with the values converted to kotlinx.datetime.Instant.