Interface ICronTabParser
Defines the contract for that allows the parsing of chrontab expressions.
Namespace: Umbraco.Cms.Core.Configuration
Assembly: Umbraco.Core.dll
Syntax
public interface ICronTabParserMethods
View SourceGetNextOccurrence(String, DateTime)
Returns the next occurence for the given chrontab expression from the given time.
Declaration
DateTime GetNextOccurrence(string cronTab, DateTime time)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | cronTab | The chrontab expression to parse. | 
| DateTime | time | The date and time to start from. | 
Returns
| Type | Description | 
|---|---|
| DateTime | The  | 
IsValidCronTab(String)
Returns a value indicating whether a given chrontab expression is valid.
Declaration
bool IsValidCronTab(string cronTab)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | cronTab | The chrontab expression to parse. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | The System.Boolean result. |