Class: InterestDays::Calculation::IsdaAct365
- Defined in:
- lib/interest_days/calculation/isda_act_365.rb
Overview
ISDA 30 E 365 Convention calculation
Constant Summary collapse
- RELEVANT_DAYS_IN_YEAR =
365
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from InterestDays::Calculation::Base
Instance Method Details
#day_count_factor ⇒ Object
9 10 11 |
# File 'lib/interest_days/calculation/isda_act_365.rb', line 9 def day_count_factor days.fdiv(RELEVANT_DAYS_IN_YEAR) end |