BloombergLP::bdlt::Timetable_Day::setInitialTransitionCode

Set the initial transition code of this daily timetable to code.

Synopsis

Declared in <bdlt_timetable.h>

bool
setInitialTransitionCode(int code);

Description

Set the transition code in effect prior to the start of this daily timetable to the specified code. 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 0 <= code || k_UNSET_TRANSITION_CODE == code.

Return Value

true if the final transition code changed

Parameters

NameDescription
codeinitial transition code