/// <summary> /// Delays the job for the given interval. /// </summary> /// <param name="unit">The schedule being affected.</param> /// <param name="interval">Interval to wait.</param> public static DelayTimeUnit DelayFor(this MonthUnit unit, int interval) { if (unit == null) { throw new ArgumentNullException("unit"); } return(DelayFor(unit.Schedule, interval)); }
/// <summary> /// Delay first execution of the task for the specified time interval. /// </summary> public static DelayTimeUnit DelayFor(this MonthUnit timeUnit, int interval) { return(DelayFor(timeUnit.Schedule, interval)); }