generateFromDayInterval overloads

Synopses

Declared in <bblb_schedulegenerationutil.h>

Load day‐interval schedule dates into the specified schedule.

static
void
generateFromDayInterval(
    bsl::vector<bdlt::Date>* schedule,
    bdlt::Date const& earliest,
    bdlt::Date const& latest,
    bdlt::Date const& example,
    int intervalInDays);

See the corresponding bsl::vector overload above.

static
void
generateFromDayInterval(
    std::pmr::vector<bdlt::Date>* schedule,
    bdlt::Date const& earliest,
    bdlt::Date const& latest,
    bdlt::Date const& example,
    int intervalInDays);

See the corresponding bsl::vector overload above.

static
void
generateFromDayInterval(
    std::vector<bdlt::Date>* schedule,
    bdlt::Date const& earliest,
    bdlt::Date const& latest,
    bdlt::Date const& example,
    int intervalInDays);

Parameters

Name

Description

schedule

receives the generated date sequence

earliest

inclusive start of the date window

latest

inclusive end of the date window

example

reference date for the day‐interval lattice

intervalInDays

spacing between schedule dates in days

Created with MrDocs