[#BloombergLP-bdlt-Timetable-2constructor-046] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Timetable.adoc[Timetable]::Timetable :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdlt_timetable.h>` Create an empty `Timetable` (i.e., a timetable having no transitions) whose initial transition code is `k_UNSET_TRANSITION_CODE`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlt/Timetable/2constructor-0a.adoc[Timetable](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlt/Timetable/2constructor-0a.adoc[_» more..._]# Create a timetable having the value of the specified `original` timetable. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Timetable/2constructor-04b.adoc[Timetable]( xref:BloombergLP/bdlt/Timetable.adoc[Timetable] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlt/Timetable/2constructor-04b.adoc[_» more..._]# Create a timetable having a valid range from the specified `firstDate` through the specified `lastDate` and having the optionally specified `initialTransitionCode`. If `initialTransitionCode` is not specified, the initial transition code is set to `k_UNSET_TRANSITION_CODE`. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. The behavior is undefined unless `firstDate <= lastDate`, and `0 <= initialTransitionCode` or `k_UNSET_TRANSITION_CODE == initialTransitionCode`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/Timetable/2constructor-0c.adoc[Timetable]( xref:BloombergLP/bdlt/Date.adoc[Date] const& firstDate, xref:BloombergLP/bdlt/Date.adoc[Date] const& lastDate, int initialTransitionCode = k_UNSET_TRANSITION_CODE, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bdlt/Timetable/2constructor-0c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#