C# Class NCrontab.Advanced.Filters.NearestWeekdayFilter

Handles filtering for the nearest weekday to a specified day
Inheritance: ICronFilter
Afficher le fichier Open project: jcoutch/NCrontab-Advanced Class Usage Examples

Méthodes publiques

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

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

NearestWeekdayFilter() public méthode

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
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string