kotlinx-datetime
kotlin-flow-extensions
Our great sponsors
kotlinx-datetime | kotlin-flow-extensions | |
---|---|---|
4 | 2 | |
2,187 | 503 | |
3.4% | - | |
8.5 | 6.4 | |
6 days ago | about 1 month ago | |
Kotlin | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
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.
kotlin-flow-extensions
-
Are there any good tutorials showing the use of Reactor streams using Kotlin?
I don't know, why I'm downvoted here, but it is very relevant if the library provide the operators you need or if you have to implement them yourself. If Kotlin Flow is enough, then use it. From experience you don't have to go to far to miss operators from Reactor or RxJava. Maybe some day additional libraries like https://github.com/akarnokd/kotlin-flow-extensions will fill the gap, but for the time being Reactor or RxJava offer a lot more for (not trivial) real world use cases.
-
Kotlin Team AMA #3: Ask Us Anything
Why do you want to keep Flow such a small library? It could be an attractive alternative to RxJava or Reactor, but it misses many useful operators today. On the other hand it brings a lot more operatores than would be required as a foundation for other frameworks (likeKotlin Flow Extensions). From my point of view Flow stays in the middleground with no good reason.
What are some alternatives?
koda-time - Joda Time and Java 8 Time Extensions for Kotlin
Reactive Streams - Reactive Streams Specification for the JVM
klock - Multiplatform Date and time library for Kotlin
htmx - </> htmx - high power tools for HTML
kotlinx.serialization - Kotlin multiplatform / multi-format serialization
multik - Multidimensional array library for Kotlin
Kotlin-Multiplatform-Libraries - Kotlin Multiplatform Libraries. Welcome PR if you find or create new Kotlin Multiplatform Library.
kotlin-wrappers - Kotlin wrappers for popular JavaScript libraries
krangl - krangl is a {K}otlin DSL for data w{rangl}ing
rsocket - RSocket Protocol Definition
swift-evolution - This maintains proposals for changes and user-visible enhancements to the Swift Programming Language.
kotlinx.html - Kotlin DSL for HTML