This struct provides a namespace for utility functions that operate on dates in the context of supplied calendars.
Declared in <bdlt_calendarutil.h>
struct CalendarUtil;
| Name | Description |
|---|---|
ShiftConvention | Enumeration used to delineate various date-shifting conventions. |
| Name | Description |
|---|---|
addBusinessDaysIfValid | Add or subtract business days from original if valid. |
nthBusinessDayOfMonthOrMaxIfValid | Load the nth business day of a month, or the furthest available. |
shiftFollowingIfValid | Shift original to the next valid business day (following). |
shiftIfValid | shiftIfValid overloads |
shiftModifiedFollowingIfValid | Shift using modified-following convention if valid. |
shiftModifiedPrecedingIfValid | Shift original to the next valid business day (modified preceding). |
shiftPrecedingIfValid | Shift original to the next valid business day (preceding). |
subtractBusinessDaysIfValid | Subtract business days from original if valid. |