[#BloombergLP-bdlt-Calendar-getNextBusinessDay-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Calendar.adoc[Calendar]::getNextBusinessDay
:relfileprefix: ../../../
:mrdocs:

Return the first business day following `initialDate`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;calendar&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlt/Date.adoc[Date]
getNextBusinessDay(xref:BloombergLP/bdlt/Date.adoc[Date] const& initialDate) const;
----

== Description

Return the date of the first business day following the specified `initialDate`&period; For dates outside of the range of this calendar, only weekend days are considered non&hyphen;business days&period; The behavior is undefined if every day of the week is a weekend day, or if the resulting date would otherwise exceed the value `Date(9999, 12, 31)`&period;

== Return Value

the first business day following `initialDate`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *initialDate*
| date after which to find a business day
|===


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