DiscreteInterestRateSchedule Class

An InterestRateSchedule implementation that accepts discrete conversion dates and rates.

Definition

Namespace: com.ftlabs.fisa
Assembly: FISA.NET (in FISA.NET.dll) Version: 1.16.0.13 (1.16.0.13)
C#
public class DiscreteInterestRateSchedule : InterestRateSchedule, 
	IDisposable
Inheritance
Object    DiscreteInterestRateSchedule
Implements
InterestRateSchedule, IDisposable

Remarks

The order in which the steps are added doesn't matter.

Constructors

DiscreteInterestRateScheduleInitializes a new instance of the DiscreteInterestRateSchedule class
DiscreteInterestRateSchedule(Double, FISADate, Double) A convenience constructor to create a DiscreteInterestRateSchedule with an initial interest rate and a single step.

Methods

add(FISADate, Double) Adds a new InterestRateStep to this DiscreteInterestRateSchedule.
add(FISADate, FISADate, Double) 
clear Clears this DiscreteInterestRateSchedule.
DisposeReleases all resources used by the DiscreteInterestRateSchedule
Dispose(Boolean)Releases the unmanaged resources used by the DiscreteInterestRateSchedule and optionally releases the managed resources
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
getCount 
getDate(Int32) 
getDate(Int32, FISADate) 
getEndDate(Int32) 
getEndDate(Int32, FISADate) 
GetHashCodeServes as the default hash function.
(Inherited from Object)
getIndex 
getInterestRate(FISADate) 
getInterestRate(Int32) 
getSynchronizedSchedule 
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
setSingleStep A convenience method to clear this schedule and set an initial interest rate with a single step.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also