Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Add support for Kotlin time API #193

Open
jcornaz opened this issue Aug 5, 2020 · 1 comment
Open

Add support for Kotlin time API #193

jcornaz opened this issue Aug 5, 2020 · 1 comment
Labels
generator Add, fix or improve a random generator up for grabs Good for newcomers

Comments

@jcornaz
Copy link
Owner

jcornaz commented Aug 5, 2020

Thanks to @alvaroReina we have support for java time API.

Turns out Kotlin recently started to ship an (experimental) multiplatform time API too. (Duration in the standard library and some other types in kotlinx-datetime)

We could start to support the Kotlin time API.

The experimental status of the kotlin time API should makes related generator experimental too, by marking such generators with the @ExperimentalTime annotation.

@jcornaz jcornaz added the up for grabs Good for newcomers label Aug 5, 2020
@jcornaz jcornaz added the generator Add, fix or improve a random generator label Aug 11, 2020
@jcornaz
Copy link
Owner Author

jcornaz commented Oct 13, 2020

To avoid clashes between the Java and Kotlin APIs, we should probably have dedicated generator modules (generator-java-time and generator-kotlin-time for example).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
generator Add, fix or improve a random generator up for grabs Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant