- QuantLib
- SimpleDayCounter
Simple day counter for reproducing theoretical calculations. More...
#include <ql/time/daycounters/simpledaycounter.hpp>
Simple day counter for reproducing theoretical calculations.
This day counter tries to ensure that whole-month distances are returned as a simple fraction, i.e., 1 year = 1.0, 6 months = 0.5, 3 months = 0.25 and so forth.