[#BloombergLP-bdlt-Timetable_Day] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::Timetable_Day :relfileprefix: ../../ :mrdocs: Value‐semantic repository of time‐indexed state transitions for one day. == Synopsis Declared in `<bdlt_timetable.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Timetable_Day; ---- == Description This class implements a value‐semantic repository of time‐indexed state transitions over one date (this class implements one day of a timetable). A `Timetable_Day` can be "populated" with state transitions via the `addTransition` method, and queried for the transition code in effect at a specified time via the `transitionCodeInEffect` method. Note that, as an optimization for the `transitionCodeInEffect` method, the transition code in effect before the first possible transition is stored in `d_initialTransitionCode`. == Enums [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/Timetable_Day/_04enum.adoc[`Unnamed enum`] | Constants for compactable transition codes. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlt/Timetable_Day/2constructor-09.adoc[`Timetable_Day`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdlt/Timetable_Day/operator_assign.adoc[`operator=`] | Assign the value of `rhs` to this daily timetable. | xref:BloombergLP/bdlt/Timetable_Day/addTransition.adoc[`addTransition`] | Add or replace a transition at `time` with `code`. | xref:BloombergLP/bdlt/Timetable_Day/finalTransitionCode.adoc[`finalTransitionCode`] | Return the transition code in effect at the end of this day. | xref:BloombergLP/bdlt/Timetable_Day/initialTransitionCode.adoc[`initialTransitionCode`] | Return the transition code in effect prior to the start of this daily timetable. | xref:BloombergLP/bdlt/Timetable_Day/removeAllTransitions.adoc[`removeAllTransitions`] | Remove all transitions from this daily timetable. | xref:BloombergLP/bdlt/Timetable_Day/removeTransition.adoc[`removeTransition`] | Remove the transition at `time`, if present. | xref:BloombergLP/bdlt/Timetable_Day/setInitialTransitionCode.adoc[`setInitialTransitionCode`] | Set the initial transition code of this daily timetable to `code`. | xref:BloombergLP/bdlt/Timetable_Day/size.adoc[`size`] | Return the number of transitions in this daily timetable. | xref:BloombergLP/bdlt/Timetable_Day/transitionCodeInEffect.adoc[`transitionCodeInEffect`] | Return the transition code in effect at the specified `time`. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/bdlt/hashAppend-068.adoc[BloombergLP::bdlt::hashAppend]` | Pass `object` to `hashAlg` for modular hashing. | `xref:BloombergLP/bdlt/operator_lt-0c5.adoc[BloombergLP::bdlt::operator<]` | Return `true` if `lhs` daily timetable is less than `rhs`. | `xref:BloombergLP/bdlt/operator_not_eq-076.adoc[BloombergLP::bdlt::operator!=]` | Return `true` if `lhs` and `rhs` daily timetables do not have the same value. | `xref:BloombergLP/bdlt/operator_eq-069.adoc[BloombergLP::bdlt::operator==]` | Return `true` if `lhs` and `rhs` daily timetables have the same value. | `xref:BloombergLP/bdlt/Timetable_ConstIterator.adoc[BloombergLP::bdlt::Timetable_ConstIterator]` | Provide read‐only, sequential access in increasing (chronological) order to the transitions in a `Timetable` object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#