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

`getNextBusinessDay` overloads

== Synopses

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

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


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

[.small]#xref:BloombergLP/bdlt/Calendar/getNextBusinessDay-0d.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:BloombergLP/bdlt/Calendar/getNextBusinessDay-09.adoc[_» more&period;&period;&period;_]#

Load the first business day after `date` into `nextBusinessDay`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/bdlt/Calendar/getNextBusinessDay-0a.adoc[getNextBusinessDay](
    xref:BloombergLP/bdlt/Date.adoc[Date]* nextBusinessDay,
    xref:BloombergLP/bdlt/Date.adoc[Date] const& date) const;
----

[.small]#xref:BloombergLP/bdlt/Calendar/getNextBusinessDay-0a.adoc[_» more&period;&period;&period;_]#

Load the `nth` business day after `date` into `nextBusinessDay`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
xref:BloombergLP/bdlt/Calendar/getNextBusinessDay-0e.adoc[getNextBusinessDay](
    xref:BloombergLP/bdlt/Date.adoc[Date]* nextBusinessDay,
    xref:BloombergLP/bdlt/Date.adoc[Date] const& date,
    int nth) const;
----

[.small]#xref:BloombergLP/bdlt/Calendar/getNextBusinessDay-0e.adoc[_» more&period;&period;&period;_]#

== Return Value

* the first business day following `initialDate`
* the `nth` business day following `initialDate`
* 0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *initialDate*
| date after which to find a business day
| *nth*
| one&hyphen;based count of business days to advance
| *nextBusinessDay*
| receives the next business day on success
| *date*
| date after which to find a business day
|===


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