public void Hourly_Every_5_Hours(string cronPattern)
        {
            var startDate = new DateTime(2018, 6, 1, 10, 50, 25);
            var endDate   = new DateTime(2018, 10, 1, 10, 50, 25);

            var res = new CronTabScheduler().Occurances(cronPattern, startDate, endDate, true);

            Assert.True(res.Any());
        }
        public void Weekly_Every_Saturday_And_Thursday_At_9(string cronPattern)
        {
            var startDate = new DateTime(2018, 6, 1, 10, 50, 25);
            var endDate   = new DateTime(2018, 10, 1, 10, 50, 25);

            var res = new CronTabScheduler().Occurances(cronPattern, startDate, endDate, true);

            Assert.True(res.Any());
        }
        public void Montly_SpecificDay_SpecificMonths(string cronPattern)
        {
            var startDate = new DateTime(2018, 6, 1, 10, 50, 25);
            var endDate   = new DateTime(2018, 10, 1, 10, 50, 25);

            var res = new CronTabScheduler().Occurances(cronPattern, startDate, endDate, true);

            Assert.True(res.Any());
        }