Esempio n. 1
0
 /// <summary>
 /// Creates list of task instances based on the crontab rule.
 /// </summary>
 /// <param name="selectedDay">Date for which instances are created.</param>
 /// <returns>Task instance list containing instances created for a specified date.</returns>
 public CrontabInstanceList GetInstanceList(DateTime selectedDay)
 {
     CrontabRuleParser parser = new CrontabRuleParser(this, selectedDay);
     return parser.GetRuleInstances();
 }
Esempio n. 2
0
        /// <summary>
        /// Creates list of task instances based on the crontab rule.
        /// </summary>
        /// <param name="selectedDay">Date for which instances are created.</param>
        /// <returns>Task instance list containing instances created for a specified date.</returns>
        public CrontabInstanceList GetInstanceList(DateTime selectedDay)
        {
            CrontabRuleParser parser = new CrontabRuleParser(this, selectedDay);

            return(parser.GetRuleInstances());
        }