DayCountBasiscalculateDaysInPeriod Method
Calculate the total number of days in a coupon period.
Namespace: com.ftlabs.fisaAssembly: FISA.NET (in FISA.NET.dll) Version: 1.16.0.13 (1.16.0.13)
public abstract double calculateDaysInPeriod(
FISADate previousCouponDate,
FISADate nextCouponDate,
int interestFrequency,
bool eomAdjust
)
Public MustOverride Function calculateDaysInPeriod (
previousCouponDate As FISADate,
nextCouponDate As FISADate,
interestFrequency As Integer,
eomAdjust As Boolean
) As Double
- previousCouponDate FISADate
- the previous coupon date.
- nextCouponDate FISADate
- the next coupon date.
- interestFrequency Int32
- the interestFrequency.
- eomAdjust Boolean
-
determines whether the end of month adjustment rule is used.
Doublethe number of days within the given period.