BloombergLP::bdlt::Timetable::setValidRange

Set the range of this timetable using the specified firstDate and lastDate as, respectively, the first date and the last date of the timetable. Any transitions, and associated transition codes, that are outside of the new range are removed. The removal of a transition invalidates all iterators. The behavior is undefined unless firstDate <= lastDate.

Synopsis

Declared in <bdlt_timetable.h>

void
setValidRange(
    Date const& firstDate,
    Date const& lastDate);