[#BloombergLP-bdlt-Timetable-transitionCodeInEffect-0e]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Timetable.adoc[Timetable]::transitionCodeInEffect
:relfileprefix: ../../../
:mrdocs:

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

== Synopsis

Declared in `&lt;bdlt&lowbar;timetable&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
transitionCodeInEffect(
    xref:BloombergLP/bdlt/Date.adoc[Date] const& date,
    xref:BloombergLP/bdlt/Time.adoc[Time] const& time) const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
