Closed someniatko closed 1 year ago
Do you think it makes sense to also implement isEqualTo()
and toNativeDatePeriod()
?
@BenMorel ping 🤸
Do you think it makes sense to also implement isEqualTo() and toNativeDatePeriod()?
isEqualTo()
: yes, and you may use it in your tests as per my commenttoNativeDatePeriod()
: it looks like DatePeriod
is about recurring periods, so I don't think they represent the same concept. I'd pass on this one.Okay, I will implement isEqualTo()
as well.
Done! Code coverage has been decreased for the classes this PR is not responsible for, maybe something has changed in the method of the coverage calculation.
closes #63