8#ifndef INCLUDED_BBLDC_CALENDARBUS252
9#define INCLUDED_BBLDC_CALENDARBUS252
97#include <bblscm_version.h>
163 if (beginDate < endDate) {
166 else if (beginDate > endDate) {
177#if defined(BSLS_PLATFORM_CMP_GNU) && (BSLS_PLATFORM_CMP_VERSION >= 50301)
181 const volatile double rv =
185 static_cast<double>(
daysDiff(beginDate, endDate, calendar)) / 252.0;
Definition bdlt_calendar.h:569
bool isInRange(const Date &date) const
Definition bdlt_calendar.h:1824
int numBusinessDays() const
Definition bdlt_calendar.h:1864
Definition bdlt_date.h:294
#define BSLS_ASSERT_SAFE(X)
Definition bsls_assert.h:1762
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bbldc_basicactual360.h:107
Definition bbldc_calendarbus252.h:115
static double yearsDiff(const bdlt::Date &beginDate, const bdlt::Date &endDate, const bdlt::Calendar &calendar)
Definition bbldc_calendarbus252.h:173
static int daysDiff(const bdlt::Date &beginDate, const bdlt::Date &endDate, const bdlt::Calendar &calendar)
Definition bbldc_calendarbus252.h:156