26#ifndef quantlib_actual365fixed_day_counter_h
27#define quantlib_actual365fixed_day_counter_h
54 std::string
name()
const override {
return std::string(
"Actual/365 (Fixed)"); }
62 std::string
name()
const override {
63 return std::string(
"Actual/365 (Fixed) Canadian Bond");
67 const Date& refPeriodStart,
68 const Date& refPeriodEnd)
const override;
72 std::string
name()
const override {
return std::string(
"Actual/365 (No Leap)"); }
76 const Date& refPeriodStart,
77 const Date& refPeriodEnd)
const override;
Time yearFraction(const Date &d1, const Date &d2, const Date &refPeriodStart, const Date &refPeriodEnd) const override
std::string name() const override
Time yearFraction(const Date &d1, const Date &d2, const Date &, const Date &) const override
std::string name() const override
Date::serial_type dayCount(const Date &d1, const Date &d2) const override
to be overloaded by more complex day counters
Time yearFraction(const Date &d1, const Date &d2, const Date &refPeriodStart, const Date &refPeriodEnd) const override
std::string name() const override
Actual/365 (Fixed) day count convention.
Actual365Fixed(Convention c=Actual365Fixed::Standard)
static ext::shared_ptr< DayCounter::Impl > implementation(Convention)
std::int_fast32_t serial_type
serial number type
abstract base class for day counter implementations
Real Time
continuous quantity with 1-year units
Time daysBetween(const Date &d1, const Date &d2)