Ejemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="scheduleBuilder"></param>
 /// <param name="startTime"></param>
 /// <param name="endTime"></param>
 /// <returns></returns>
 public static ScheduleBuilder WithTimes(this ScheduleBuilder scheduleBuilder, DateTimeOffset startTime, DateTimeOffset endTime)
 {
     scheduleBuilder.SetStartTime(startTime);
     scheduleBuilder.SetEndTime(endTime);
     return(scheduleBuilder);
 }
Ejemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="scheduleBuilder"></param>
 /// <param name="endTime"></param>
 /// <returns></returns>
 public static ScheduleBuilder EndAt(this ScheduleBuilder scheduleBuilder, DateTimeOffset endTime)
 {
     scheduleBuilder.SetEndTime(endTime);
     return(scheduleBuilder);
 }