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

Handles filtering for the nearest weekday to a specified day
Наследование: ICronFilter
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
IsMatch ( System.DateTime value ) : bool

Checks if the value is accepted by the filter

NearestWeekdayFilter ( int specificValue, CrontabFieldKind kind ) : System

Constructs a new RangeFilter instance

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

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

Constructs a new RangeFilter instance
public NearestWeekdayFilter ( int specificValue, CrontabFieldKind kind ) : System
specificValue int The specific value you wish to match
kind CrontabFieldKind The crontab field kind to associate with this filter
Результат System

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

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