DayCountBasiscalculateDaysAccrued Method

Calculate the number of days accrued from the previous coupon date to the settlement date.

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 calculateDaysAccrued(
	FISADate previousCouponDate,
	FISADate nextCouponDate,
	FISADate settlementDate,
	int interestFrequency,
	bool eomAdjust
)

Parameters

previousCouponDate  FISADate
the previous coupon date.
nextCouponDate  FISADate
the next coupon date.
settlementDate  FISADate
the date on which settlement occurs.
interestFrequency  Int32
the interestFrequency.
eomAdjust  Boolean
determines whether the end of month adjustment rule is used.

Return Value

Double
the number of days accrued within the given period.

See Also