Closed wkdavis closed 3 years ago
Yes, set operations will be useful for these index classes. PRs would be great, but I'd prefer an implementation without coercing Date
and year*
back and forth.
@earowang I think I have found a good way to do it without coercing to/from date. See #244 .
Thanks. Just want to make sure if the setdiff()
results gave incorrect results, which I've fixed now.
Would you be open to
generics::intersect()
methods foryearmonth
,yearquarter
, andyearweek
objects? As an example forintersect.yearmonth()
Created on 2020-11-18 by the reprex package (v0.3.0)
I would be happy to create them and open a PR.