Ejemplo n.º 1
0
 /// <summary>
 /// Return true if the date occurs in the schedule.
 /// </summary>
 /// <param name="aDate"></param>
 /// <returns></returns>
 public bool IsOccurring(DateTime aDate)
 {
     if (!_event.DateIsWithinLimits(aDate))
     {
         return(false);
     }
     return(TemporalExpression.Includes(aDate));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Returns true if the passed in date is an occurrence in the schedule.
 /// </summary>
 /// <param name="aDate"></param>
 /// <returns></returns>
 public bool IsOccurring(DateTime aDate)
 {
     return(_expression.Includes(aDate));
 }