C# Class NCrontab.Advanced.Filters.SpecificDayOfWeekInMonthFilter

Handles filtering for a specific day of the week in the month (i.e. 3rd Tuesday of the month)
Inheritance: ICronFilter
Afficher le fichier Open project: jcoutch/NCrontab-Advanced Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
IsMatch ( System.DateTime value ) : bool

Checks if the value is accepted by the filter

SpecificDayOfWeekInMonthFilter ( int dayOfWeek, int weekNumber, CrontabFieldKind kind ) : System

Constructs a new instance of LastDayOfWeekInMonthFilter

ToString ( ) : string

Method Details

IsMatch() public méthode

Checks if the value is accepted by the filter
public IsMatch ( System.DateTime value ) : bool
value System.DateTime The value to check
Résultat bool

SpecificDayOfWeekInMonthFilter() public méthode

Constructs a new instance of LastDayOfWeekInMonthFilter
public SpecificDayOfWeekInMonthFilter ( int dayOfWeek, int weekNumber, CrontabFieldKind kind ) : System
dayOfWeek int The cron day of the week (0 = Sunday...7 = Saturday)
weekNumber int Indicates which occurence of the day to filter against
kind CrontabFieldKind The crontab field kind to associate with this filter
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string