What we found annoying so far with the DateTimeUnit things is that they throw an exception on duration=0.
We have code where we have a dynamic amount of days added:
java.lang.IllegalArgumentException: Unit duration must be positive, but was 0 days.
at kotlinx.datetime.DateTimeUnit$DateBased$DayBased.<init>(DateTimeUnit.kt:68)
Instead I would prefer to have the function just return the initial date instead of throwing when adding 0 dates.
Now we always need to write != 0 checks everywhere and use the initial instance