Beispiel #1
0
 protected SheduleFrequencyProperty()
 {
     _durationFrom   = DateTime.Now.Date;
     _durationTo     = DateTime.MaxValue.Date;
     _period         = 1;
     _dailyFrequency = TimeSpanFrequency.StartOnce();
 }
Beispiel #2
0
 protected void SetOneTimeOccurrence(DateTime occursAt)
 {
     _period         = 0;
     _durationTo     = _durationFrom = occursAt.Date;
     _dailyFrequency = new TimeSpanFrequency(occursAt.TimeOfDay);
 }