[#BloombergLP-bdlt-Calendar-numBusinessDays-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Calendar.adoc[Calendar]::numBusinessDays :relfileprefix: ../../../ :mrdocs: `numBusinessDays` overloads == Synopses Declared in `<bdlt_calendar.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/Calendar/numBusinessDays-0f.adoc[numBusinessDays]() const; ---- [.small]#xref:BloombergLP/bdlt/Calendar/numBusinessDays-0f.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/Calendar/numBusinessDays-0a.adoc[numBusinessDays]( xref:BloombergLP/bdlt/Date.adoc[Date] const& beginDate, xref:BloombergLP/bdlt/Date.adoc[Date] const& endDate) const; ---- [.small]#xref:BloombergLP/bdlt/Calendar/numBusinessDays-0a.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#