8#ifndef INCLUDED_BDLT_CALENDARUTIL
9#define INCLUDED_BDLT_CALENDARUTIL
154#include <bdlscm_version.h>
214 int numBusinessDays);
279 bool extendSpecialDay,
336 int numBusinessDays);
373 return e_OUT_OF_RANGE;
404 return e_OUT_OF_RANGE;
Definition bdlt_calendarreverseiteratoradapter.h:298
Definition bdlt_calendar.h:1343
Definition bdlt_calendar.h:569
BusinessDayConstIterator endBusinessDays() const
Definition bdlt_calendar.h:1710
BusinessDayConstReverseIterator rendBusinessDays() const
Definition bdlt_calendar.h:1974
bool isInRange(const Date &date) const
Definition bdlt_calendar.h:1824
BusinessDayConstReverseIterator rbeginBusinessDays() const
Definition bdlt_calendar.h:1925
BusinessDayConstIterator beginBusinessDays() const
Definition bdlt_calendar.h:1650
Definition bdlt_date.h:294
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bbldc_basicisma30360.h:112
Definition bdlt_calendarutil.h:173
static int subtractBusinessDaysIfValid(bdlt::Date *result, const bdlt::Date &original, const bdlt::Calendar &calendar, int numBusinessDays)
static int shiftModifiedFollowingIfValid(bdlt::Date *result, const bdlt::Date &original, const bdlt::Calendar &calendar)
static int addBusinessDaysIfValid(bdlt::Date *result, const bdlt::Date &original, const bdlt::Calendar &calendar, int numBusinessDays)
ShiftConvention
Enumeration used to delineate various date-shifting conventions.
Definition bdlt_calendarutil.h:178
@ e_UNADJUSTED
Definition bdlt_calendarutil.h:180
@ e_MODIFIED_PRECEDING
Definition bdlt_calendarutil.h:191
@ e_FOLLOWING
Definition bdlt_calendarutil.h:182
@ e_PRECEDING
Definition bdlt_calendarutil.h:185
@ e_MODIFIED_FOLLOWING
Definition bdlt_calendarutil.h:188
static int shiftIfValid(bdlt::Date *result, const bdlt::Date &original, const bdlt::Calendar &calendar, ShiftConvention convention)
static int nthBusinessDayOfMonthOrMaxIfValid(bdlt::Date *result, const bdlt::Calendar &calendar, int year, int month, int n)
static int shiftIfValid(bdlt::Date *result, const bdlt::Date &original, const bdlt::Calendar &calendar, ShiftConvention convention, bdlt::DayOfWeek::Enum specialDay, bool extendSpecialDay, ShiftConvention specialConvention)
static int shiftFollowingIfValid(bdlt::Date *result, const bdlt::Date &original, const bdlt::Calendar &calendar)
Definition bdlt_calendarutil.h:349
static int shiftPrecedingIfValid(bdlt::Date *result, const bdlt::Date &original, const bdlt::Calendar &calendar)
Definition bdlt_calendarutil.h:380
static int shiftModifiedPrecedingIfValid(bdlt::Date *result, const bdlt::Date &original, const bdlt::Calendar &calendar)
Enum
Enumerated day-of-week values.
Definition bdlt_dayofweek.h:123