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.

Synopsis

Declared in <bbldc_calendardaterangedaycountadapter.h>

CalendarDateRangeDayCountAdapter(
    bdlt::Calendar const& calendar,
    bslma::Allocator* basicAllocator = 0);

Created with MrDocs