date-time
date-time copied to clipboard
`Interval` is so barebones compared to `LocalDateRange`
I suggest Interval should have the following methods, like in LocalDateRange:
contains(Instant): boolintersectsWith(Interval): boolgetIntersectionWith(Interval): Intervalof(Instant, Instant): self- for consistency with other classes
and nice to haves (also contained in the LocalDateRange):
isEqualTo(Interval): booltoNativeDatePeriod(): \DatePeriod