BloombergLP::bdlt::Calendar::getNextBusinessDay

Return the first business day following initialDate.

Synopsis

Declared in <bdlt_calendar.h>

Date
getNextBusinessDay(Date const& initialDate) const;

Description

Return the date of the first business day following the specified initialDate. For dates outside of the range of this calendar, only weekend days are considered non-business days. 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).

Return Value

the first business day following initialDate

Parameters

NameDescription
initialDatedate after which to find a business day