public DateTime GetEstimatedTimeForNextExecution()
 {
     return(Occurrence.GetNextOccurrence().StartTime);
 }
 public JobExecutionContext(Occurrence occurrence)
 {
     Occurrence = occurrence;
     Parameters = new Dictionary <string, object>();
 }
 public Occurrence GetNextOccurrence()
 {
     return(Occurrence.GetNextOccurrence());
 }