BloombergLP::bdlt::Timetable_Day::removeTransition

Remove the transition at time, if present.

Synopsis

Declared in <bdlt_timetable.h>

bool
removeTransition(Time const& time);

Description

If a transition occurs at the specified time, remove the transition from this daily timetable. Otherwise, return without modifying this daily timetable. Return true if the value returned by finalTransitionCode() prior to this operation is not equal to the value returned by finalTransitionCode() after this operation, and false otherwise. The behavior is undefined unless 24 > time.hour().

Return Value

true if the final transition code changed

Parameters

NameDescription
timetransition time to remove