| A simple example based on California hunting season regulations | http://www.dfg.ca.gov/fg_comm/regs.html One date has been changed for demonstration purposes | You can run these rules in a browser, using the Internet Business Logic system | at www.reengineeringllc.com hunting deer is permitted in zone some-zone from some-start-date1 to some-end-date1 hunting bear is permitted in zone that-zone from some-start-date2 to some-end-date2 the period that-start-date1 to that-end-date1 overlaps with the period that-start-date2 to that-end-date2 --------------------------------------------------------------------------------------------------------- in zone that-zone the deer and bear hunting seasons overlap hunting deer is permitted in zone this-zone from this-start-date to this-end-date ================================================================================= A 20030809 20030921 B1 20030920 20031026 B2 20030920 20031026 hunting bear is permitted in zone this-zone from this-start-date to this-end-date ================================================================================= A 20030809 20031228 B1 20030920 20031228 B2 20031027 20031228 some-start1 is less than or equal some-end2 some-start2 is less than or equal some-end1 ------------------------------------------------------------------------------------- the period that-start1 to that-end1 overlaps with the period that-start2 to that-end2