generateFromDayOfWeekInMonth overloads
Synopses
Declared in <bblb_schedulegenerationutil.h>
Load day‐of‐week‐in‐month schedule dates into the specified schedule.
static
void
generateFromDayOfWeekInMonth(
bsl::vector<bdlt::Date>* schedule,
bdlt::Date const& earliest,
bdlt::Date const& latest,
int exampleYear,
int exampleMonth,
int intervalInMonths,
bdlt::DayOfWeek::Enum dayOfWeek,
int occurrenceWeek);
See the corresponding bsl::vector overload above.
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);
See the corresponding bsl::vector overload above.
static
void
generateFromDayOfWeekInMonth(
std::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
Name |
Description |
schedule |
receives the generated date sequence |
earliest |
inclusive start of the date window |
latest |
inclusive end of the date window |
exampleYear |
reference year for the interval lattice |
exampleMonth |
reference month for the interval lattice |
intervalInMonths |
spacing between schedule months |
dayOfWeek |
weekday required in |
occurrenceWeek |
week‐of‐month index in the range |
Created with MrDocs