C# Class NCrontab.Advanced.Filters.AnyFilter

Handles the filter instance where the user specifies a * (for any value)
Inheritance: ICronFilter, ITimeFilter
Datei anzeigen Open project: jcoutch/NCrontab-Advanced

Public Methods

Method Description
AnyFilter ( CrontabFieldKind kind ) : System

Constructs a new AnyFilter instance

First ( ) : int
IsMatch ( System.DateTime value ) : bool

Checks if the value is accepted by the filter

Next ( int value ) : int?
ToString ( ) : string

Method Details

AnyFilter() public method

Constructs a new AnyFilter instance
public AnyFilter ( CrontabFieldKind kind ) : System
kind CrontabFieldKind The crontab field kind to associate with this filter
return System

First() public method

public First ( ) : int
return int

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

Next() public method

public Next ( int value ) : int?
value int
return int?

ToString() public method

public ToString ( ) : string
return string