Remove transitions at time on dayOfWeek dates in [firstDate .. lastDate].
Declared in <bdlt_timetable.h>
void
removeTransitions(
DayOfWeek::Enum const& dayOfWeek,
Time const& time,
Date const& firstDate,
Date const& lastDate);
Remove all transitions from this timetable that occur at the specified time on all dates that are of the specified dayOfWeek within the closed interval of dates from the specified firstDate to the specified lastDate. The removal of a transition invalidates all iterators. The behavior is undefined unless 24 > time.hour(), firstDate <= lastDate, and firstDate and lastDate are within the valid range of this timetable.
| Name | Description |
|---|---|
| dayOfWeek | day of week whose transitions are removed |
| time | time of day of the transitions to remove |
| firstDate | first date of the closed interval |
| lastDate | last date of the closed interval |