C# Class NCrontab.Advanced.Filters.LastDayOfWeekInMonthFilter

Handles filtering for the last specified day of the week in the month
Inheritance: ICronFilter
Datei anzeigen Open project: jcoutch/NCrontab-Advanced Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
IsMatch ( System.DateTime value ) : bool

Checks if the value is accepted by the filter

LastDayOfWeekInMonthFilter ( int dayOfWeek, CrontabFieldKind kind ) : System

Constructs a new instance of LastDayOfWeekInMonthFilter

ToString ( ) : string

Method Details

IsMatch() public method

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

LastDayOfWeekInMonthFilter() public method

Constructs a new instance of LastDayOfWeekInMonthFilter
public LastDayOfWeekInMonthFilter ( int dayOfWeek, CrontabFieldKind kind ) : System
dayOfWeek int The cron day of the week (0 = Sunday...7 = Saturday)
kind CrontabFieldKind The crontab field kind to associate with this filter
return System

ToString() public method

public ToString ( ) : string
return string