public static bool EvalDailyTrigger(this IDailyScheduledTask task, ITimeProvider timeProvider)
        {
            if (task.RepeatIntervalInDays <= 0 || ((Int32)(timeProvider.Time.Date - task.StartTime.Date).TotalDays % task.RepeatIntervalInDays != 0))
            {
                return(false);
            }

            return(TimeHelpers.AreTimesEqualToTheSecond(timeProvider.Time, task.StartTime));
        }
 public DailyTaskUserControl(IDailyScheduledTask dailyScheduledTask)
 {
     InitializeComponent();
     DailyScheduledTask = dailyScheduledTask;
 }
 public DailyTaskUserControl(IDailyScheduledTask dailyScheduledTask)
 {
     InitializeComponent();
     DailyScheduledTask = dailyScheduledTask;
 }