| IBasisPartDaysInPeriod Method |
Returns the number of days in a coupon period.
Namespace: Imsl.FinanceAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxdouble DaysInPeriod(
DateTime finalDate,
BondFrequency frequency
)
Function DaysInPeriod (
finalDate As DateTime,
frequency As BondFrequency
) As Double
double DaysInPeriod(
DateTime finalDate,
BondFrequency frequency
)
abstract DaysInPeriod :
finalDate : DateTime *
frequency : BondFrequency -> float
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