Table of Contents

Interface ITimePlan

Namespace
Tlabs.Timing
Assembly
Tlabs.Core.dll

Interface to access the next due-date of a scheduled time.

public interface ITimePlan
Extension Methods

Methods

DueDate(DateTime)

Returns the next due-date fromNow.

DateTime DueDate(DateTime fromNow)

Parameters

fromNow DateTime

Returns

DateTime

Next due-date fromNow or MaxValue if schedule is expired (will never become due).

Remarks

NOTE: Implementation must return due-dates which are in the future from fromNow.

i.e. when a ITimePlan implementation returnde a due-date, the next call to the DueDate() method with a new fromNow argument which is the last due-date plus a small milli.sec. amount (RESOLUTION_MSEC) MUST return a new due-date > fromNow!!!