[#BloombergLP-bdlt-Timetable_Day-transitionCodeInEffect]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Timetable_Day.adoc[Timetable&lowbar;Day]::transitionCodeInEffect
:relfileprefix: ../../../
:mrdocs:

Return the transition code in effect at the specified `time`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
transitionCodeInEffect(xref:BloombergLP/bdlt/Time.adoc[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&period; If this daily timetable has no such transition, return `initialTransitionCode()`&period; The behavior is undefined unless `24 &gt; time&period;hour()`&period;

== Return Value

transition code in effect at `time`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *time*
| time of day to query
|===


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