Load, into the specified result, the date of the chronologically latest business day that is on or before the specified original date based on the specified calendar. Return 0 on success, and a non‐zero value, without modifying *result, if the original date is not within the valid range of calendar or the preceding business day cannot be found within the valid range of calendar.
Synopsis
Declared in <bdlt_calendarutil.h>
static
int
shiftPrecedingIfValid(
bdlt::Date* result,
bdlt::Date const& original,
bdlt::Calendar const& calendar);
Created with MrDocs