C# Класс NCrontab.Advanced.Filters.SpecificDayOfWeekInMonthFilter

Handles filtering for a specific day of the week in the month (i.e. 3rd Tuesday of the month)
Наследование: ICronFilter
Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

Метод Описание
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

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

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

Checks if the value is accepted by the filter
public IsMatch ( System.DateTime value ) : bool
value System.DateTime The value to check
Результат bool

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

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
Результат System

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

public ToString ( ) : string
Результат string