BloombergLP::bdlt::DateUtil::nextDayOfWeek

Return the first date after the specified date that falls on the specified dayOfWeek. The behavior is undefined unless the resulting date is no later than 9999/12/31.

Synopsis

Declared in <bdlt_dateutil.h>

static
Date
nextDayOfWeek(
    DayOfWeek::Enum dayOfWeek,
    Date const& date);