BloombergLP::bdlt::Timetable_Day::transitionCodeInEffect

Return the transition code in effect at the specified time.

Synopsis

Declared in <bdlt_timetable.h>

int
transitionCodeInEffect(Time const& time) const;

Description

Return the transition code associated with the latest transition that occurs on or before the specified time in this daily timetable. If this daily timetable has no such transition, return initialTransitionCode(). The behavior is undefined unless 24 > time.hour().

Return Value

transition code in effect at time

Parameters

NameDescription
timetime of day to query