8#ifndef INCLUDED_BBLDC_CALENDARDATERANGEDAYCOUNTADAPTER
9#define INCLUDED_BBLDC_CALENDARDATERANGEDAYCOUNTADAPTER
125#include <bblscm_version.h>
154template <
class CONVENTION>
232template <
class CONVENTION>
237: d_calendar(calendar, basicAllocator)
241template <
class CONVENTION>
249template <
class CONVENTION>
260 return CONVENTION::daysDiff(beginDate, endDate, d_calendar);
263template <
class CONVENTION>
268 return d_calendar.firstDate();
271template <
class CONVENTION>
276 return d_calendar.lastDate();
279template <
class CONVENTION>
290 return CONVENTION::yearsDiff(beginDate, endDate, d_calendar);
295template <
class CONVENTION>
300 return d_calendar.allocator();
311template <
class CONVENTION>
Definition bbldc_calendardaterangedaycountadapter.h:155
bslma::Allocator * allocator() const
Return the allocator used by this adapter to supply memory.
Definition bbldc_calendardaterangedaycountadapter.h:298
const bdlt::Date & lastDate() const BSLS_KEYWORD_OVERRIDE
Definition bbldc_calendardaterangedaycountadapter.h:274
~CalendarDateRangeDayCountAdapter() BSLS_KEYWORD_OVERRIDE
Destroy this object.
Definition bbldc_calendardaterangedaycountadapter.h:244
int daysDiff(const bdlt::Date &beginDate, const bdlt::Date &endDate) const BSLS_KEYWORD_OVERRIDE
Definition bbldc_calendardaterangedaycountadapter.h:251
double yearsDiff(const bdlt::Date &beginDate, const bdlt::Date &endDate) const BSLS_KEYWORD_OVERRIDE
Definition bbldc_calendardaterangedaycountadapter.h:281
const bdlt::Date & firstDate() const BSLS_KEYWORD_OVERRIDE
Definition bbldc_calendardaterangedaycountadapter.h:266
Definition bbldc_daterangedaycount.h:191
Definition bdlt_calendar.h:569
Definition bdlt_date.h:294
Definition bslma_allocator.h:457
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
#define BSLS_KEYWORD_OVERRIDE
Definition bsls_keyword.h:653
Definition bbldc_basicactual360.h:107
Definition balxml_encoderoptions.h:68
Definition bslma_usesbslmaallocator.h:343