C# Class FluentScheduler.MonthUnit

Unit of time in months.
Afficher le fichier Open project: fluentscheduler/FluentScheduler Class Usage Examples

Private Properties

Свойство Type Description
MonthUnit System

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
MonthUnit ( Schedule schedule, int duration ) : System

Method Details

On() public méthode

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).
Résultat MonthOnDayOfMonthUnit

OnTheFirst() public méthode

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.
Résultat MonthOnDayOfWeekUnit

OnTheFourth() public méthode

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.
Résultat MonthOnDayOfWeekUnit

OnTheLast() public méthode

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.
Résultat MonthOnDayOfWeekUnit

OnTheLastDay() public méthode

Runs the job on the last day of the month.
public OnTheLastDay ( ) : MonthOnLastDayOfMonthUnit
Résultat MonthOnLastDayOfMonthUnit

OnTheSecond() public méthode

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.
Résultat MonthOnDayOfWeekUnit

OnTheThird() public méthode

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.
Résultat MonthOnDayOfWeekUnit