C# Class Yea.Scheduler.Model.WeekUnit

Afficher le fichier Open project: OxPatient/Rule-Engine

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

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
Résultat void

On() public méthode

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
Résultat WeeklyDayOfWeekUnit

WeekUnit() public méthode

public WeekUnit ( Schedule schedule, int duration ) : System
schedule Schedule
duration int
Résultat System