This is an easy one, but there has to be some standard for doing it; which is what I'm curious about.
I want a simple routine which tests date_a against date_b to see if date_a intersects in anyway with date_b. The dates are initially supplied as (yyyy,mm?,dd?) and turned into days since epoch using Date::Calc which is already used else where, so we're not using Date::Calc specifically for this. We can do it with three tests on the boundaries, however I'm curious if it can be done in fewer? Elegence? Cheers, R.