BloombergLP::bblb::ScheduleGenerationUtil::generateFromDayInterval

Load, into the specified schedule, the chronologically increasing sequence of unique dates that are integral multiples of the specified intervalInDays away from the specified example date, and within the specified closed-interval [earliest, latest]. The behavior is undefined unless earliest <= latest and 1 <= intervalInDays.

Synopsis

Declared in <bblb_schedulegenerationutil.h>

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