Method SubtractTimes
SubtractTimes(T, T)
Returns how much time separates two points on this implementation's clock.
protected abstract TimeSpan SubtractTimes(T first, T second)
Parameters
firstTThe latter point in time.
secondTThe earlier point in time.
Returns
- TimeSpan
The interval from
secondtofirst, negative iffirstis the earlier of the two.
Remarks
This calculates the wait for the next timer, thus it must return a true interval rather than a compare result.