[#BloombergLP-bdlt-PackedCalendar-getNextBusinessDay-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]::getNextBusinessDay
:relfileprefix: ../../../
:mrdocs:

`getNextBusinessDay` overloads

== Synopses

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

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


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

[.small]#xref:BloombergLP/bdlt/PackedCalendar/getNextBusinessDay-08.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/PackedCalendar/getNextBusinessDay-04.adoc[getNextBusinessDay](
    xref:BloombergLP/bdlt/Date.adoc[Date]* nextBusinessDay,
    xref:BloombergLP/bdlt/Date.adoc[Date] const& date,
    int nth) const;
----

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

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nextBusinessDay*
| output for the next business day
| *date*
| date after which to search
| *nth*
| number of business days after `date` to find
|===


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