C# 클래스 FluentScheduler.RestrictableUnitExtensions

Extension class for restrictable units.
파일 보기 프로젝트 열기: fluentscheduler/FluentScheduler

공개 메소드들

메소드 설명
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

메소드 상세

Between() 공개 정적인 메소드

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).
리턴 ITimeRestrictableUnit

WeekdaysOnly() 공개 정적인 메소드

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