Click or drag to resize
IBasisPartDaysInPeriod Method
Returns the number of days in a coupon period.

Namespace: Imsl.Finance
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
double DaysInPeriod(
	DateTime finalDate,
	BondFrequency frequency
)

Parameters

finalDate
Type: SystemDateTime
A DateTime object containing the final date of the coupon period.
frequency
Type: Imsl.FinanceBondFrequency
The Frequency specifying the number of coupon periods per year. This is typically 1, 2 or 4.

Return Value

Type: Double
A int containing the number of days in the coupon period.
See Also