BloombergLP::bdlt::Timetable::transitionCodeInEffect

Return the transition code associated with the latest transition that occurs on or before the specified datetime in this timetable. If this timetable has no such transition, return initialTransitionCode(). The behavior is undefined unless 24 > datetime.hour() and datetime.date() is within the valid range of this timetable.

Synopsis

Declared in <bdlt_timetable.h>

int
transitionCodeInEffect(Datetime const& datetime) const;