I maintain a (not yet stable) library that exposes...
# kotlinx-datetime
k
I maintain a (not yet stable) library that exposes extension functions on
kotlinx.datetime.Clock
. I suspect I should move those to
kotlin.time.Clock
? When is
kotlinx.datetime.Clock
planned to be removed?
Is the best migration path for right now to maintain a
kotlin.time
<>
kotlinx.datetime
compatibility layer?
Ah, looks like compat is coming in kotlinx-datetime in 0.7.0 which hasn't been published yet. https://github.com/Kotlin/KEEP/blob/master/proposals/stdlib/instant.md#description-of-the-process
c
Is
kotlin.time.Clock
already available?
k
yes, as of 2.1.20 IIRC
c
nice, thanks
blob no problem 1
k
It’s marked as experimental but so is the entirety of kotlinx-datetime
👍 1