[#BloombergLP-bdlt-Timetable-setValidRange] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Timetable.adoc[Timetable]::setValidRange :relfileprefix: ../../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setValidRange( xref:BloombergLP/bdlt/Date.adoc[Date] const& firstDate, xref:BloombergLP/bdlt/Date.adoc[Date] const& lastDate); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#