BloombergLP::bdlt::Timetable::removeTransition

Remove the transition at date and time, if present.

Synopsis

Declared in <bdlt_timetable.h>

void
removeTransition(
    Date const& date,
    Time const& time);

Description

If a transition occurs on the specified date at the specified time, remove the transition from this timetable. Otherwise, return without modifying this timetable. The removal of a transition invalidates all iterators. The behavior is undefined unless 24 > time.hour() and date is within the valid range of this timetable.

Parameters

NameDescription
datedate of the transition to remove
timetime of the transition to remove