Skip to content

Commit efc1c2f

Browse files
committed
updating parse docs
1 parent d98059d commit efc1c2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/StardustDocs/topics/parse.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ df.parse { age and weight }
3636
`parse` tries to parse every `String` column into one of supported types in the following order:
3737
* `Int`
3838
* `Long`
39+
* `Instant` (`kotlin.time`) (requires `parseExperimentalInstant = true`)
3940
* `Instant` (`kotlinx.datetime` and `java.time`)
4041
* `LocalDateTime` (`kotlinx.datetime` and `java.time`)
4142
* `LocalDate` (`kotlinx.datetime` and `java.time`)
@@ -74,6 +75,9 @@ Available parser options:
7475
* Enabled by global default
7576
* `parseExperimentalUuid: Boolean` is used to enable or disable parsing to the experimental [`kotlin.uuid.Uuid` class](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.uuid/-uuid/).
7677
* Disabled by global default
78+
* `parseExperimentalInstant: Boolean` is used to enable or disable parsing to the experimental
79+
[`kotlin.time.Instant` class](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.time/-instant/).
80+
* Disabled by global default
7781

7882
<!---FUN parseWithOptions-->
7983

0 commit comments

Comments
 (0)