C# 클래스 Yea.Scheduler.Model.YearUnit

파일 보기 프로젝트 열기: OxPatient/Rule-Engine

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
On ( int day ) : YearOnDayOfYearUnit

Schedules the specified task to run on the day specified. If the day has passed, the task will execute the next scheduled year.

OnTheLastDay ( ) : YearOnLastDayOfYearUnit

Schedules the specified task to run on the last day of the year.

YearUnit ( Schedule schedule, int duration )

메소드 상세

On() 공개 메소드

Schedules the specified task to run on the day specified. If the day has passed, the task will execute the next scheduled year.
public On ( int day ) : YearOnDayOfYearUnit
day int 1-365: Represents the day of the year
리턴 YearOnDayOfYearUnit

OnTheLastDay() 공개 메소드

Schedules the specified task to run on the last day of the year.
public OnTheLastDay ( ) : YearOnLastDayOfYearUnit
리턴 YearOnLastDayOfYearUnit

YearUnit() 공개 메소드

public YearUnit ( Schedule schedule, int duration )
schedule Schedule
duration int