The README says: > `DatePeriod` is a subclass o...
# kotlinx-datetime
c
The README says:
DatePeriod
is a subclass of
DateTimePeriod
with zero time components, it represents a difference between two LocalDate values decomposed into date units.
Ok, but, how?
LocalDate
doesn't have a
-
operator 🤔
k
operator fun LocalDate.minus(other: LocalDate): DatePeriod
would be cool
c
That's why I'm confused, the README seems to say it exists, but I can't find it
d
c
Indeed 🤔 now I wonder my IntelliJ didn't find it, I'll take a deeper look tomorrow
update: today, IntelliJ finds it 🤷