C# Класс FluentScheduler.MonthUnit

Unit of time in months.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
MonthUnit System

Открытые методы

Метод Описание
On ( int day ) : MonthOnDayOfMonthUnit

Runs the job on the given day of the month.

OnTheFirst ( DayOfWeek day ) : MonthOnDayOfWeekUnit

Runs the job on the given day of week on the first week of the month.

OnTheFourth ( DayOfWeek day ) : MonthOnDayOfWeekUnit

Runs the job on the given day of week on the fourth week of the month.

OnTheLast ( DayOfWeek day ) : MonthOnDayOfWeekUnit

Runs the job on the given day of week on the last week of the month.

OnTheLastDay ( ) : MonthOnLastDayOfMonthUnit

Runs the job on the last day of the month.

OnTheSecond ( DayOfWeek day ) : MonthOnDayOfWeekUnit

Runs the job on the given day of week on the second week of the month.

OnTheThird ( DayOfWeek day ) : MonthOnDayOfWeekUnit

Runs the job on the given day of week on the third week of the month.

Приватные методы

Метод Описание
MonthUnit ( Schedule schedule, int duration ) : System

Описание методов

On() публичный Метод

Runs the job on the given day of the month.
public On ( int day ) : MonthOnDayOfMonthUnit
day int The day (1 through the number of days in month).
Результат MonthOnDayOfMonthUnit

OnTheFirst() публичный Метод

Runs the job on the given day of week on the first week of the month.
public OnTheFirst ( DayOfWeek day ) : MonthOnDayOfWeekUnit
day DayOfWeek The day of the week.
Результат MonthOnDayOfWeekUnit

OnTheFourth() публичный Метод

Runs the job on the given day of week on the fourth week of the month.
public OnTheFourth ( DayOfWeek day ) : MonthOnDayOfWeekUnit
day DayOfWeek The day of the week.
Результат MonthOnDayOfWeekUnit

OnTheLast() публичный Метод

Runs the job on the given day of week on the last week of the month.
public OnTheLast ( DayOfWeek day ) : MonthOnDayOfWeekUnit
day DayOfWeek The day of the week.
Результат MonthOnDayOfWeekUnit

OnTheLastDay() публичный Метод

Runs the job on the last day of the month.
public OnTheLastDay ( ) : MonthOnLastDayOfMonthUnit
Результат MonthOnLastDayOfMonthUnit

OnTheSecond() публичный Метод

Runs the job on the given day of week on the second week of the month.
public OnTheSecond ( DayOfWeek day ) : MonthOnDayOfWeekUnit
day DayOfWeek The day of the week.
Результат MonthOnDayOfWeekUnit

OnTheThird() публичный Метод

Runs the job on the given day of week on the third week of the month.
public OnTheThird ( DayOfWeek day ) : MonthOnDayOfWeekUnit
day DayOfWeek The day of the week.
Результат MonthOnDayOfWeekUnit