C# Class Yea.Scheduler.Model.YearUnit

Mostrar archivo Open project: OxPatient/Rule-Engine

Private Properties

Property Type Description

Public Methods

Method Description
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 )

Method Details

On() public method

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
return YearOnDayOfYearUnit

OnTheLastDay() public method

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

YearUnit() public method

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