[#BloombergLP-bdlt-Timetable-transitionCodeInEffect-091] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Timetable.adoc[Timetable]::transitionCodeInEffect :relfileprefix: ../../../ :mrdocs: `transitionCodeInEffect` overloads == Synopses Declared in `<bdlt_timetable.h>` 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlt/Timetable/transitionCodeInEffect-09e.adoc[transitionCodeInEffect](xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& datetime) const; ---- [.small]#xref:BloombergLP/bdlt/Timetable/transitionCodeInEffect-09e.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bdlt/Timetable/transitionCodeInEffect-0e.adoc[transitionCodeInEffect]( xref:BloombergLP/bdlt/Date.adoc[Date] const& date, xref:BloombergLP/bdlt/Time.adoc[Time] const& time) const; ---- [.small]#xref:BloombergLP/bdlt/Timetable/transitionCodeInEffect-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#