hpcc-systems/HPCC-Platform — pull request #1127 by RussWhitehead (2011-12-12 22:21:04+00:00)
Title: FIX: gh-1126 CRON incorrect handling of Sunday (day 7)

Day Of Week can be specified in day range as 7 (ie "6-7" for Sat-Sun).
Parsing of that date converts it to 0 (0-7 for Sun-Sat). Unfortunately
the loop adding an event for each day in the range would never execute
because it would loop "for (6<=0)". Fix by checking min/max and using
that as sentinel

Signed-off-by: William Whitehead