C# Class Yea.Scheduler.Model.WeekUnit

Mostrar archivo Open project: OxPatient/Rule-Engine

Private Properties

Property Type Description

Public Methods

Method Description
At ( int hours, int minutes ) : void

Schedules the specified task to run at the hour and minute specified. If the hour and minute have passed, the task will execute the next scheduled week.

On ( DayOfWeek day ) : WeeklyDayOfWeekUnit

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

WeekUnit ( Schedule schedule, int duration ) : System

Method Details

At() public method

Schedules the specified task to run at the hour and minute specified. If the hour and minute have passed, the task will execute the next scheduled week.
public At ( int hours, int minutes ) : void
hours int 0-23: Represents the hour of the day
minutes int 0-59: Represents the minute of the day
return void

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 week.
public On ( DayOfWeek day ) : WeeklyDayOfWeekUnit
day DayOfWeek Day of week to run the task
return WeeklyDayOfWeekUnit

WeekUnit() public method

public WeekUnit ( Schedule schedule, int duration ) : System
schedule Schedule
duration int
return System