Search Results for

    Show / Hide Table of Contents
    View Source

    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 ICronTabParser

    Methods

    View Source

    GetNextOccurrence(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 representing the next occurence.

    View Source

    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.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetNextOccurrence(String, DateTime)
      • IsValidCronTab(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX