The DayCountBasis type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DayCountBasis | Initializes a new instance of the DayCountBasis class |
Methods
| Name | Description | |
|---|---|---|
| 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.
| |
| calculateDaysInPeriod | Calculate the total number of days in a coupon period. | |
| calculateDaysRemaining | Calculate the number of days remaining in a coupon period. | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| getByName |
Get a pointer to the DayCountBasis implementation that
corresponds to the provided name.
| |
| getDaysInYear | Calculate the number of days for a given year. | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| getName |
* Get the name of this DayCountBasis implementation.
* | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| registerDayCountBasis | ||
| ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
| _30_360 | 30/360 (US) DayCountBasis implementation. | |
| _30E_360 | 30E/360 (European) DayCountBasis implementation. | |
| ACT_360 | Act/360 DayCountBasis implementation. | |
| ACT_365 | Act/365 DayCountBasis implementation. | |
| ACT_365_JP |
Act/365_JP (Japanese) DayCountBasis implementation.
| |
| ACT_ACT | Act/Act DayCountBasis implementation. | |
| ACT_NL_365 | Act_NL/365 DayCountBasis implementation. | |
| daycountBases |