Class: InterestDays::Calculation::IsdaAct360
- Defined in:
- lib/interest_days/calculation/isda_act_360.rb
Overview
ISDA Act 360 Convention calculation
Constant Summary collapse
- RELEVANT_DAYS_IN_YEAR =
360
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_360.rb', line 9 def day_count_factor days.fdiv(RELEVANT_DAYS_IN_YEAR) end |