Interface IIntervalService
Access the interval
Namespace: Simplic.Interval
Assembly: Simplic.Interval.dll
Syntax
public interface IIntervalService : IIntervalRepository
Methods
| Improve this Doc View SourceCalculateNextIntervalExecute(Interval, DateTime)
Calculates the next execute
Declaration
DateTime CalculateNextIntervalExecute(Interval interval, DateTime begin)
Parameters
Type | Name | Description |
---|---|---|
Interval | interval | interval object |
System.DateTime | begin |
Returns
Type | Description |
---|---|
System.DateTime | Next execute date |
CalculateNextIntervalExecute(Guid, DateTime)
Calculates the next execute
Declaration
DateTime CalculateNextIntervalExecute(Guid intervalId, DateTime begin)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | intervalId | unique interval id |
System.DateTime | begin |
Returns
Type | Description |
---|---|
System.DateTime | Next execute date |