24#ifndef quantlib_one_day_counter_h
25#define quantlib_one_day_counter_h
37 std::string
name()
const override {
return std::string(
"1/1"); }
40 return (d2 >= d1 ? 1 : -1);
std::int_fast32_t serial_type
serial number type
abstract base class for day counter implementations
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 &, const Date &) const override
std::string name() const override
Real Time
continuous quantity with 1-year units