PeterAttardo
PeterAttardo
That would be correct.
Related to the choice of arbitrary `DatePeriod`: I'm not hugely concerned about the first case. A range that goes backward temporarily, but forward ultimately, isn't _wrong_ so much as it...
Thinking about this more, there is an issue that persists in any choice that allows for a step in months (as opposed to just days, or just years*): If one...
I think we can distill this problem down to the following question: Which of the following accurately describes the next date in a progression?: 1. The prior date in the...
Addition on `DatePeriod`s is already defined, is it not? https://github.com/Kotlin/kotlinx-datetime/blob/master/core/common/src/DateTimePeriod.kt#L445 Multiplication could be defined largely the same way: ```Kotlin public operator fun DatePeriod.times(other: Int): DatePeriod = DatePeriod( safeMultiply(totalMonths, other), safeMultiply(days,...
I just ran into the same issue, and it took me about three hours of debugging to realize that `key` in `remember` and `key` in `rememberSaveable` aren't the same, and...
I do not, but you can manually hack this change into your code by either monkeypatching the existing `EtsyAPI` class, or by defining a new class that inherits from `EtsyAPI`...
I don't think the issue is with `DateTimePeriod.plus` and `DatePeriod.plus` exactly. `Date{Time}Period` addition is both commutative and associative, and the following tests will pass: ```Kotlin @Test fun associativeAndCommutative() { val...
The more I go down this rabbit hole, the deeper it gets. Returning to the definition of a `DatePeriod` as the difference between two `LocalDate`s, I'm having an issue with...
I'm running into this issue as well. Even if you connect to a database, it will throw with a different-but-related error (`java.lang.IllegalStateException: No transaction in context.`) if you try to...