C# Class FluentScheduler.RestrictableUnitExtensions

Extension class for restrictable units.
显示文件 Open project: fluentscheduler/FluentScheduler

Public Methods

Method Description
Between ( this unit, int startHour, int startMinute, int endHour, int endMinute ) : ITimeRestrictableUnit

Runs the job between the given start and end hour of day.

WeekdaysOnly ( this unit ) : IDayRestrictableUnit

Runs the job only on weekdays. The schedule being affected

Method Details

Between() public static method

Runs the job between the given start and end hour of day.
public static Between ( this unit, int startHour, int startMinute, int endHour, int endMinute ) : ITimeRestrictableUnit
unit this The schedule being affected.
startHour int The start hours (0 through 23).
startMinute int The start minutes (0 through 59).
endHour int The end hours (0 through 23).
endMinute int The end minutes (0 through 59).
return ITimeRestrictableUnit

WeekdaysOnly() public static method

Runs the job only on weekdays. The schedule being affected
public static WeekdaysOnly ( this unit ) : IDayRestrictableUnit
unit this
return IDayRestrictableUnit