Exemple #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();
 }
Exemple #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());
        }