BloombergLP::bblb::ScheduleGenerationUtil::generateFromDayOfWeekInMonth

See the corresponding bsl::vector overload above.

Synopsis

Declared in <bblb_schedulegenerationutil.h>

static
void
generateFromDayOfWeekInMonth(
    std::pmr::vector<bdlt::Date>* schedule,
    bdlt::Date const& earliest,
    bdlt::Date const& latest,
    int exampleYear,
    int exampleMonth,
    int intervalInMonths,
    bdlt::DayOfWeek::Enum dayOfWeek,
    int occurrenceWeek);

Parameters

NameDescription
schedulereceives the generated date sequence
earliestinclusive start of the date window
latestinclusive end of the date window
exampleYearreference year for the interval lattice
exampleMonthreference month for the interval lattice
intervalInMonthsspacing between schedule months
dayOfWeekweekday required in occurrenceWeek
occurrenceWeekweek-of-month index in the range [1 .. 4]