Have any of you used the Klock library? <https://k...
# announcements
k
Have any of you used the Klock library? https://korlibs.soywiz.com/klock/ It looks pretty awesome. Exactly the usecase for inline classes.
s
It’s okay. From my use cases, it falters in a few areas, namely lack of support for optional values in patterns. The API is a little wacky as well.
k
Looks like it has limited formatting support
s
There’s also the fact that it isn’t published to jcenter despite being in a stable release, and the README is pretty outdated
j
Last I checked it doesn't have a timezone database so you can't use it for anything beyond the most trivial of time math (e.g., 5 seconds + 6 seconds)
s
If I’m honest, I kinda hate it. I’m only using it because there’s no alternative, at least until kotlinx.time drops