[#BloombergLP-bdlt-PackedCalendar-numBusinessDays-08a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]::numBusinessDays :relfileprefix: ../../../ :mrdocs: `numBusinessDays` overloads == Synopses Declared in `<bdlt_packedcalendar.h>` Return the number of days in the valid range of this calendar that are considered business days ‐‐ i.e., are neither holidays nor weekend days. Note that `numBusinessDays() == length() ‐ numNonBusinessDays()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlt/PackedCalendar/numBusinessDays-085.adoc[numBusinessDays]() const; ---- [.small]#xref:BloombergLP/bdlt/PackedCalendar/numBusinessDays-085.adoc[_» more..._]# 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`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlt/PackedCalendar/numBusinessDays-02.adoc[numBusinessDays]( xref:BloombergLP/bdlt/Date.adoc[Date] const& beginDate, xref:BloombergLP/bdlt/Date.adoc[Date] const& endDate) const; ---- [.small]#xref:BloombergLP/bdlt/PackedCalendar/numBusinessDays-02.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#