seejohnrun/ice_cube — Issue #41: Conflicts_with? feature
Author: elfassy
Created: 2011-11-22 18:07:12+00:00
State: open

It would be nice to have a method called conflicts_with? which would say if two schedules are conflicting (ie overlap)

example:

Schedule1 = Every 2 week on sundays and saturdays

and

Schedule2 = Every month on the first day

gives

> schedule1.conflicts_with?(schedule2)
=> true

Please let me know if this already exists, Thanks!