BloombergLP::bdlt::Timetable::removeTransitions

Remove transitions at time on dayOfWeek dates in [firstDate .. lastDate].

Synopsis

Declared in <bdlt_timetable.h>

void
removeTransitions(
    DayOfWeek::Enum const& dayOfWeek,
    Time const& time,
    Date const& firstDate,
    Date const& lastDate);

Description

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.

Parameters

NameDescription
dayOfWeekday of week whose transitions are removed
timetime of day of the transitions to remove
firstDatefirst date of the closed interval
lastDatelast date of the closed interval