[#BloombergLP-bdlt-PackedCalendar-numBusinessDays-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]::numBusinessDays :relfileprefix: ../../../ :mrdocs: Return the number of days in the specified range `[beginDate .. endDate]` of this calendar that are considered business days ‐‐ i.e., are neither holidays nor weekend days. The behavior is undefined unless `beginDate` and `endDate` are within the valid range of this calendar, and `beginDate <= endDate`. == Synopsis Declared in `<bdlt_packedcalendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numBusinessDays( xref:BloombergLP/bdlt/Date.adoc[Date] const& beginDate, xref:BloombergLP/bdlt/Date.adoc[Date] const& endDate) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#