[#BloombergLP-bdlt-PackedCalendar-getNextBusinessDay-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PackedCalendar.adoc[PackedCalendar]::getNextBusinessDay :relfileprefix: ../../../ :mrdocs: Load the first business day after `date` into `nextBusinessDay`. == Synopsis Declared in `<bdlt_packedcalendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int getNextBusinessDay( xref:BloombergLP/bdlt/Date.adoc[Date]* nextBusinessDay, xref:BloombergLP/bdlt/Date.adoc[Date] const& date) const; ---- == Description Load, into the specified `nextBusinessDay`, the date of the first business day in this calendar following the specified `date`. Return 0 on success ‐‐ i.e., if such a business day exists, and a non‐zero value (with no effect on `nextBusinessDay`) otherwise. The behavior is undefined unless `date + 1` is both a valid `bdlt::Date` and within the valid range of this calendar. == Return Value 0 on success, and a non‐zero value otherwise == Parameters [cols="1,4"] |=== | Name| Description | *nextBusinessDay* | output for the next business day | *date* | date after which to search |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#