Set the valid range of this timetable to [firstDate .. lastDate].

Synopsis

Declared in <bdlt_timetable.h>

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

Description

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.

Parameters

Name

Description

firstDate

first date of the valid range

lastDate

last date of the valid range

Created with MrDocs