25#ifndef quantlib_thirty360_day_counter_h
26#define quantlib_thirty360_day_counter_h
93 const Date&,
const Date&)
const override {
99 std::string
name()
const override {
return std::string(
"30/360 (US)"); }
104 std::string
name()
const override {
return std::string(
"30/360 (Bond Basis)"); }
109 std::string
name()
const override {
return std::string(
"30E/360 (Eurobond Basis)"); }
114 std::string
name()
const override {
return std::string(
"30/360 (Italian)"); }
121 std::string
name()
const override {
return std::string(
"30E/360 (ISDA)"); }
128 std::string
name()
const override {
return std::string(
"30/360 (NASD)"); }
131 static ext::shared_ptr<DayCounter::Impl>
std::int_fast32_t serial_type
serial number type
abstract base class for day counter implementations
virtual Date::serial_type dayCount(const Date &d1, const Date &d2) const
to be overloaded by more complex day counters
Date::serial_type dayCount(const Date &d1, const Date &d2) const override
to be overloaded by more complex day counters
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
ISDA_Impl(const Date &terminationDate)
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
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
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
std::string name() const override
Time yearFraction(const Date &d1, const Date &d2, const Date &, const Date &) const override
Date::serial_type dayCount(const Date &d1, const Date &d2) const override
to be overloaded by more complex day counters
std::string name() const override
30/360 day count convention
static ext::shared_ptr< DayCounter::Impl > implementation(Convention c, const Date &terminationDate)
Thirty360(Convention c, const Date &terminationDate=Date())
Real Time
continuous quantity with 1-year units