WebCab Bonds for .NET v2.01

AbstractBusinessCalendar.checkOrder Method 

This methods checks whether the first data given start date is before or after the second date given end date. It is important to preserve the order of dates passed to methods and we provide this method to assist in the checking of the order of dates within your applications.

protected internal bool checkOrder(
   DateTime start,
   DateTime end
);

Parameters

start
the first date given which we refer to as the start date.
end
the second date given which we refer to as the end date.

Return Value

true is returned if the start date is strictly prior to the end date. If the start date is identical to or strictly after the end date on a given calendars time-line then the method will return false.

See Also

AbstractBusinessCalendar Class | WebCab.BusinessCalendar Namespace