DayCountBasis Class

Defines an abstract class that is used to calculate the number of days between two dates, and provides static members for each supported implementation.

Definition

Namespace: com.ftlabs.fisa
Assembly: FISA.NET (in FISA.NET.dll) Version: 1.16.0.13 (1.16.0.13)
C#
public abstract class DayCountBasis
Inheritance
Object    DayCountBasis

Constructors

DayCountBasisInitializes a new instance of the DayCountBasis class

Methods

calculateDays Calculates the number of days between two dates using the implemented Day Count method.
calculateDaysAccrued Calculate the number of days accrued from the previous coupon date to the settlement date.
calculateDaysInPeriodCalculate the total number of days in a coupon period.
calculateDaysRemainingCalculate the number of days remaining in a coupon period.
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)
getByName Get a pointer to the DayCountBasis implementation that corresponds to the provided name.
getDaysInYearCalculate the number of days for a given year.
GetHashCodeServes as the default hash function.
(Inherited from Object)
getName * Get the name of this DayCountBasis implementation. *
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
registerDayCountBasis 
ToString
(Overrides ObjectToString)

Fields

_30_36030/360 (US) DayCountBasis implementation.
_30E_36030E/360 (European) DayCountBasis implementation.
ACT_360Act/360 DayCountBasis implementation.
ACT_365Act/365 DayCountBasis implementation.
ACT_365_JP Act/365_JP (Japanese) DayCountBasis implementation.
ACT_ACTAct/Act DayCountBasis implementation.
ACT_NL_365Act_NL/365 DayCountBasis implementation.
daycountBases 

See Also