C# Класс Yea.Scheduler.Model.YearUnit

Показать файл Открыть проект

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