kotlinx-datetime
kotlinx.atomicfu
kotlinx-datetime | kotlinx.atomicfu | |
---|---|---|
4 | 4 | |
2,210 | 814 | |
2.1% | 0.6% | |
8.5 | 8.0 | |
1 day ago | 2 days ago | |
Kotlin | Kotlin | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kotlinx-datetime
-
Why should I use kotlinx.serialization?
Kotlin multiplatform types often come with their own serializers. https://github.com/Kotlin/kotlinx-datetime and https://github.com/hfhbd/kotlinx-uuid do, for example.
- Datas no Kotlin
-
Kotlin Team AMA #3: Ask Us Anything
But we do have such plans for our kotlinx-datetime library and expect to provide at least a partial solution during the course of the year
-
What's the best way to calculate the number of days between two dates in Kotlin?
It depends, time has a complex and native bound legacy. But I bet you want this https://github.com/Kotlin/kotlinx-datetime and DateTimePeriod.
kotlinx.atomicfu
-
EffeKt: reactivity in kotlin
You could look into using https://github.com/Kotlin/kotlinx-atomicfu instead of using java atomics
- Design pattern for coroutines sharing mutable state and running serially
-
Coroutines
} `` Unfortunately,AtomicBooleanis JVM-specific. If you work on multiplatfrom code, you can use [kotlinx.atomicfu](https://github.com/Kotlin/kotlinx.atomicfu),CompletableDeferred` or channel.
-
Kotlin Team AMA #3: Ask Us Anything
Other examples are atomicfu and power assert (developed and maintained externally!), and we expect this list to grow even further.
What are some alternatives?
koda-time - Joda Time and Java 8 Time Extensions for Kotlin
better-parse - A nice parser combinator library for Kotlin
klock - Multiplatform Date and time library for Kotlin
Humanizer.jvm
kotlinx.serialization - Kotlin multiplatform / multi-format serialization
groothy - Kotlin implementation of Groovy Truth
Kotlin-Multiplatform-Libraries - Kotlin Multiplatform Libraries. Welcome PR if you find or create new Kotlin Multiplatform Library.
kxdate - Kotlin extensions for Java 8 java.time API
krangl - krangl is a {K}otlin DSL for data w{rangl}ing
quasar
swift-evolution - This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
kotlin-pluralizer - :sunny: Kotlin extension to pluralize and singularize strings