I have two NSDate
objects. One (call it date1
) has timestamp in the future i.e 2012-07-16 12:00
and also this date is repeating daily. The other one (date2
) has a timestamp also in the future i.e 2012-07-17 12:00
.
Now I want to check if possibly date1
will clash with date2
. Obviously it will not clash at 2012-07-16 12:00
but the day after (since it's repeating daily) it will clash with date2
.
How could I implement this check?