[#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&period; Any transitions, and associated transition codes, that are outside of the new range are removed&period; The removal of a transition invalidates all iterators&period; The behavior is undefined unless `firstDate &lt;&equals; lastDate`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;timetable&period;h&gt;`

[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]#
