[#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 `&lt;bdlt&lowbar;packedcalendar&period;h&gt;`

Return the number of days in the valid range of this calendar that are considered business days &hyphen;&hyphen; i&period;e&period;, are neither holidays nor weekend days&period; Note that `numBusinessDays() &equals;&equals; length() &hyphen; numNonBusinessDays()`&period;


[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&period;&period;&period;_]#

Return the number of days in the specified range `&lsqb;beginDate &period;&period; endDate&rsqb;` of this calendar that are considered business days &hyphen;&hyphen; i&period;e&period;, are neither holidays nor weekend days&period; The behavior is undefined unless `beginDate` and `endDate` are within the valid range of this calendar, and `beginDate &lt;&equals; endDate`&period;


[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&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
