24#ifndef quantlib_actual366_day_counter_h
25#define quantlib_actual366_day_counter_h
42 explicit Impl(
const bool includeLastDay)
44 std::string
name()
const override {
46 std::string(
"Actual/366 (inc)")
47 : std::string(
"Actual/366");
59 explicit Actual366(
const bool includeLastDay =
false)
Date::serial_type dayCount(const Date &d1, const Date &d2) const override
to be overloaded by more complex day counters
Impl(const bool includeLastDay)
Time yearFraction(const Date &d1, const Date &d2, const Date &, const Date &) const override
std::string name() const override
Actual/366 day count convention.
Actual366(const bool includeLastDay=false)
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)