DayCountBasiscalculateDaysInPeriod Method

Calculate the total number of days in a coupon period.

Definition

Namespace: com.ftlabs.fisa
Assembly: FISA.NET (in FISA.NET.dll) Version: 1.16.0.13 (1.16.0.13)
C#
public abstract double calculateDaysInPeriod(
	FISADate previousCouponDate,
	FISADate nextCouponDate,
	int interestFrequency,
	bool eomAdjust
)

Parameters

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.

Return Value

Double
the number of days within the given period.

See Also