#include <DayCountBasis.h>
Inheritance diagram for com::ftlabs::fisa::DayCountBasis_Act_365_JP:

Public Member Functions | |
| double | calculateDaysInPeriod (const FISADate &previousCouponDate, const FISADate &nextCouponDate, int interestFrequency, bool eomAdjust) const |
| Calculate the total number of days in a coupon period according to Japanese day count conventions. | |
| double | calculateDaysAccrued (const FISADate &previousCouponDate, const FISADate &nextCouponDate, const FISADate &settlementDate, int interestFrequency, bool eomAdjust) const |
| Calculate the number of days accrued within a coupon period according to Japanese day count conventions. | |
| double | calculateDaysRemaining (const FISADate &previousCouponDate, const FISADate &nextCouponDate, const FISADate &settlementDate, int interestFrequency, bool eomAdjust) const |
| Calculate the number of days remaining in a coupon period according to Japanese day count conventions. | |
| double | calculateDays (const FISADate &earlierDate, const FISADate &laterDate, int interestFrequency, bool eomAdjust) const |
| Calculate the number of days between two dates according to Japanese day count conventions. | |
| int | getDaysInYear (const FISADate &date) const |
| Calculate the number of days for a given year. | |
| const std::string & | getName (void) const |
Private Member Functions | |
| DayCountBasis_Act_365_JP (void) | |
| ~DayCountBasis_Act_365_JP (void) | |
Static Private Attributes | |
| static const std::string | name |
Friends | |
| class | DayCountBasis |
| com::ftlabs::fisa::DayCountBasis_Act_365_JP::DayCountBasis_Act_365_JP | ( | void | ) | [private] |
| com::ftlabs::fisa::DayCountBasis_Act_365_JP::~DayCountBasis_Act_365_JP | ( | void | ) | [private] |
| double com::ftlabs::fisa::DayCountBasis_Act_365_JP::calculateDaysInPeriod | ( | const FISADate & | previousCouponDate, | |
| const FISADate & | nextCouponDate, | |||
| int | interestFrequency, | |||
| bool | eomAdjust | |||
| ) | const [virtual] |
Calculate the total number of days in a coupon period according to Japanese day count conventions.
| previousCouponDate | the previous coupon date. | |
| nextCouponDate | the next coupon date. | |
| interestFrequency | the interestFrequency. | |
| eomAdjust | determines whether the end of month adjustment rule is used. |
Implements com::ftlabs::fisa::DayCountBasis.
| double com::ftlabs::fisa::DayCountBasis_Act_365_JP::calculateDaysAccrued | ( | const FISADate & | previousCouponDate, | |
| const FISADate & | nextCouponDate, | |||
| const FISADate & | settlementDate, | |||
| int | interestFrequency, | |||
| bool | eomAdjust | |||
| ) | const [virtual] |
Calculate the number of days accrued within a coupon period according to Japanese day count conventions.
| previousCouponDate | the previous coupon date. | |
| nextCouponDate | the next coupon date. | |
| settlementDate | the date on which settlement occurs. | |
| interestFrequency | the interestFrequency. | |
| eomAdjust | determines whether the end of month adjustment rule is used. |
Implements com::ftlabs::fisa::DayCountBasis.
| double com::ftlabs::fisa::DayCountBasis_Act_365_JP::calculateDaysRemaining | ( | const FISADate & | previousCouponDate, | |
| const FISADate & | nextCouponDate, | |||
| const FISADate & | settlementDate, | |||
| int | interestFrequency, | |||
| bool | eomAdjust | |||
| ) | const [virtual] |
Calculate the number of days remaining in a coupon period according to Japanese day count conventions.
| previousCouponDate | the previous coupon date. | |
| nextCouponDate | the next coupon date. | |
| settlementDate | the date on which settlement occurs. | |
| interestFrequency | the interestFrequency. | |
| eomAdjust | determines whether the end of month adjustment rule is used. |
Implements com::ftlabs::fisa::DayCountBasis.
| double com::ftlabs::fisa::DayCountBasis_Act_365_JP::calculateDays | ( | const FISADate & | earlierDate, | |
| const FISADate & | laterDate, | |||
| int | interestFrequency, | |||
| bool | eomAdjust | |||
| ) | const [virtual] |
Calculate the number of days between two dates according to Japanese day count conventions.
| earlierDate | The starting date of the period. | |
| laterDate | The ending date of the period. | |
| interestFrequency | the interestFrequency. | |
| eomAdjust | determines whether the end of month adjustment rule is used. |
Implements com::ftlabs::fisa::DayCountBasis.
| int com::ftlabs::fisa::DayCountBasis_Act_365_JP::getDaysInYear | ( | const FISADate & | date | ) | const [virtual] |
Calculate the number of days for a given year.
| date | The date for which the number of days per year will be returned. |
Implements com::ftlabs::fisa::DayCountBasis.
| const std::string& com::ftlabs::fisa::DayCountBasis_Act_365_JP::getName | ( | void | ) | const [virtual] |
Returns Act/365_JP for this implementation.
Implements com::ftlabs::fisa::DayCountBasis.
friend class DayCountBasis [friend] |
const std::string com::ftlabs::fisa::DayCountBasis_Act_365_JP::name [static, private] |
1.5.2