I have two Classes which are made up of two DateTime values. A start Date and an End Date.
Basically, I need a way of checking if one of the classes Start Date – End Date range intersects with the other Classes’.
Is there an easy way to do this?
Cheers.
Here are the possible ways in which the time can overlap (assuming one object starts
earlierand one startslater).If that’s the case, you can do the following to check (though there’s