Create a day-count adapter that uses the specified calendar.
Declared in <bbldc_calendardaterangedaycountadapter.h>
CalendarDateRangeDayCountAdapter(
bdlt::Calendar const& calendar,
bslma::Allocator* basicAllocator = 0);
Create a day-count adapter that uses the specified calendar during invocations of daysDiff and yearsDiff. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| Name | Description |
|---|---|
| calendar | calendar used for day-count calculations |
| basicAllocator | memory allocator; null uses the default |