BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bblb::ScheduleGenerationUtil Struct Reference

#include <bblb_schedulegenerationutil.h>

Static Public Member Functions

static void generateFromDayInterval (bsl::vector< bdlt::Date > *schedule, const bdlt::Date &earliest, const bdlt::Date &latest, const bdlt::Date &example, int intervalInDays)
 
static void generateFromDayInterval (std::vector< bdlt::Date > *schedule, const bdlt::Date &earliest, const bdlt::Date &latest, const bdlt::Date &example, int intervalInDays)
 
static void generateFromDayOfMonth (bsl::vector< bdlt::Date > *schedule, const bdlt::Date &earliest, const bdlt::Date &latest, int exampleYear, int exampleMonth, int intervalInMonths, int targetDayOfMonth, int targetDayOfFeb=0)
 
static void generateFromDayOfMonth (std::vector< bdlt::Date > *schedule, const bdlt::Date &earliest, const bdlt::Date &latest, int exampleYear, int exampleMonth, int intervalInMonths, int targetDayOfMonth, int targetDayOfFeb=0)
 
static void generateFromBusinessDayOfMonth (bsl::vector< bdlt::Date > *schedule, const bdlt::Date &earliest, const bdlt::Date &latest, int exampleYear, int exampleMonth, int intervalInMonths, const bdlt::Calendar &calendar, int targetBusinessDayOfMonth)
 
static void generateFromBusinessDayOfMonth (std::vector< bdlt::Date > *schedule, const bdlt::Date &earliest, const bdlt::Date &latest, int exampleYear, int exampleMonth, int intervalInMonths, const bdlt::Calendar &calendar, int targetBusinessDayOfMonth)
 
static void generateFromDayOfWeekAfterDayOfMonth (bsl::vector< bdlt::Date > *schedule, const bdlt::Date &earliest, const bdlt::Date &latest, int exampleYear, int exampleMonth, int intervalInMonths, bdlt::DayOfWeek::Enum dayOfWeek, int dayOfMonth)
 
static void generateFromDayOfWeekAfterDayOfMonth (std::vector< bdlt::Date > *schedule, const bdlt::Date &earliest, const bdlt::Date &latest, int exampleYear, int exampleMonth, int intervalInMonths, bdlt::DayOfWeek::Enum dayOfWeek, int dayOfMonth)
 
static void generateFromDayOfWeekInMonth (bsl::vector< bdlt::Date > *schedule, const bdlt::Date &earliest, const bdlt::Date &latest, int exampleYear, int exampleMonth, int intervalInMonths, bdlt::DayOfWeek::Enum dayOfWeek, int occurrenceWeek)
 
static void generateFromDayOfWeekInMonth (std::vector< bdlt::Date > *schedule, const bdlt::Date &earliest, const bdlt::Date &latest, int exampleYear, int exampleMonth, int intervalInMonths, bdlt::DayOfWeek::Enum dayOfWeek, int occurrenceWeek)
 

Detailed Description

This struct provides a namespace for utility functions that generate schedules.

Member Function Documentation

◆ generateFromBusinessDayOfMonth() [1/2]

static void bblb::ScheduleGenerationUtil::generateFromBusinessDayOfMonth ( bsl::vector< bdlt::Date > *  schedule,
const bdlt::Date earliest,
const bdlt::Date latest,
int  exampleYear,
int  exampleMonth,
int  intervalInMonths,
const bdlt::Calendar calendar,
int  targetBusinessDayOfMonth 
)
static

◆ generateFromBusinessDayOfMonth() [2/2]

static void bblb::ScheduleGenerationUtil::generateFromBusinessDayOfMonth ( std::vector< bdlt::Date > *  schedule,
const bdlt::Date earliest,
const bdlt::Date latest,
int  exampleYear,
int  exampleMonth,
int  intervalInMonths,
const bdlt::Calendar calendar,
int  targetBusinessDayOfMonth 
)
static

◆ generateFromDayInterval() [1/2]

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

◆ generateFromDayInterval() [2/2]

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

◆ generateFromDayOfMonth() [1/2]

static void bblb::ScheduleGenerationUtil::generateFromDayOfMonth ( bsl::vector< bdlt::Date > *  schedule,
const bdlt::Date earliest,
const bdlt::Date latest,
int  exampleYear,
int  exampleMonth,
int  intervalInMonths,
int  targetDayOfMonth,
int  targetDayOfFeb = 0 
)
static

◆ generateFromDayOfMonth() [2/2]

static void bblb::ScheduleGenerationUtil::generateFromDayOfMonth ( std::vector< bdlt::Date > *  schedule,
const bdlt::Date earliest,
const bdlt::Date latest,
int  exampleYear,
int  exampleMonth,
int  intervalInMonths,
int  targetDayOfMonth,
int  targetDayOfFeb = 0 
)
static

◆ generateFromDayOfWeekAfterDayOfMonth() [1/2]

static void bblb::ScheduleGenerationUtil::generateFromDayOfWeekAfterDayOfMonth ( bsl::vector< bdlt::Date > *  schedule,
const bdlt::Date earliest,
const bdlt::Date latest,
int  exampleYear,
int  exampleMonth,
int  intervalInMonths,
bdlt::DayOfWeek::Enum  dayOfWeek,
int  dayOfMonth 
)
static

◆ generateFromDayOfWeekAfterDayOfMonth() [2/2]

static void bblb::ScheduleGenerationUtil::generateFromDayOfWeekAfterDayOfMonth ( std::vector< bdlt::Date > *  schedule,
const bdlt::Date earliest,
const bdlt::Date latest,
int  exampleYear,
int  exampleMonth,
int  intervalInMonths,
bdlt::DayOfWeek::Enum  dayOfWeek,
int  dayOfMonth 
)
static

◆ generateFromDayOfWeekInMonth() [1/2]

static void bblb::ScheduleGenerationUtil::generateFromDayOfWeekInMonth ( bsl::vector< bdlt::Date > *  schedule,
const bdlt::Date earliest,
const bdlt::Date latest,
int  exampleYear,
int  exampleMonth,
int  intervalInMonths,
bdlt::DayOfWeek::Enum  dayOfWeek,
int  occurrenceWeek 
)
static

◆ generateFromDayOfWeekInMonth() [2/2]

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

The documentation for this struct was generated from the following file: