C# Class UlteriusServer.Api.Services.LocalSystem.Daemons.CronSchedule

Inheritance: ICronSchedule
Show file Open project: Ulterius/server

Public Properties

Property Type Description
DaysOfMonth List
DaysOfWeek List
Hours List
Minutes List
Months List

Public Methods

Method Description
CronSchedule ( ) : System
CronSchedule ( string expressions ) : System
IsTime ( System.DateTime dateTime ) : bool
IsValid ( string expression ) : bool

Private Methods

Method Description
DividedArray ( string configuration, int start, int max ) : List
Generate ( ) : void
GenerateValues ( string configuration, int start, int max ) : List
GetDaysOfMonth ( string match ) : void
GetDaysOfWeeks ( string match ) : void
GetHours ( string match ) : void
GetMinutes ( string match ) : void
GetMonths ( string match ) : void
IsValid ( ) : bool
ListArray ( string configuration ) : List
RangeArray ( string configuration ) : List
WildArray ( string configuration, int start, int max ) : List

Method Details

CronSchedule() public method

public CronSchedule ( ) : System
return System

CronSchedule() public method

public CronSchedule ( string expressions ) : System
expressions string
return System

IsTime() public method

public IsTime ( System.DateTime dateTime ) : bool
dateTime System.DateTime
return bool

IsValid() public method

public IsValid ( string expression ) : bool
expression string
return bool

Property Details

DaysOfMonth public property

public List DaysOfMonth
return List

DaysOfWeek public property

public List DaysOfWeek
return List

Hours public property

public List Hours
return List

Minutes public property

public List Minutes
return List

Months public property

public List Months
return List