Load day-interval schedule dates into the specified schedule.
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);
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.
| 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 |