public void DontLoopIndefinitely()
        {
            //
            // Test to check we don't loop indefinitely looking for a February
            // 31st because no such date would ever exist!
            //

            TimeCron(TimeSpan.FromSeconds(1), () =>
                     CronFinite("* * 31 Feb *", "01/01/2001 00:00:00", "01/01/2010 00:00:00"));
            TimeCron(TimeSpan.FromSeconds(1), () =>
                     CronFinite(new ParseOptions {
                IncludingSeconds = true
            })("* * * 31 Feb *", "01/01/2001 00:00:00", "01/01/2010 00:00:00"));
        }
 static void CronFinite(string cronExpression, string startTimeString, string endTimeString)
 {
     CronFinite(null)(cronExpression, startTimeString, endTimeString);
 }
 private void CronFinite(string cronExpression, string startTimeString, string endTimeString)
 {
     CronFinite()(cronExpression, startTimeString, endTimeString);
 }