WebCab Bonds for .NET v2.01

BusinessCalendarTimeConversions.DaysBetweenAsDouble Method (DateTime, DateTime, BusinessCalendar)

Returns the number of days within a period.

public static double DaysBetweenAsDouble(
   DateTime startDate,
   DateTime endDate,
   BusinessCalendar businessCalendar
);

Parameters

startDate
the start date of the period
endDate
the end date of the period
businessCalendar
the business calendar used, if no business calendar is specified then the default business calendar is used.

Remarks

The number of date as a double is evaluate for a period which is specified by a start date and an end date.

See Also

BusinessCalendarTimeConversions Class | WebCab.BusinessCalendar.Cities Namespace | BusinessCalendarTimeConversions.DaysBetweenAsDouble Overload List