Return the transition code in effect at date and time.
Declared in <bdlt_timetable.h>
int
transitionCodeInEffect(
Date const& date,
Time const& time) const;
Return the transition code associated with the latest transition that occurs on or before the specified date and time in this timetable. If this timetable has no such transition, return initialTransitionCode(). The behavior is undefined unless 24 > time.hour() and date is within the valid range of this timetable.
transition code in effect at that datetime
| Name | Description |
|---|---|
| date | calendar date to query |
| time | time of day to query |