[#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 `&lt;bdlt&lowbar;timetable&period;h&gt;`

Create an empty timetable with unset initial transition code&period;


[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&period;&period;&period;_]#

Create a timetable having the same value as `original`&period;


[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&period;&period;&period;_]#

Create a timetable with valid range `&lsqb;firstDate &period;&period; lastDate&rsqb;`&period;


[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&lowbar;UNSET&lowbar;TRANSITION&lowbar;CODE,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlt/Timetable/2constructor-0c.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| allocator used to supply memory
| *original*
| timetable to copy
| *firstDate*
| first date of the valid range
| *lastDate*
| last date of the valid range
| *initialTransitionCode*
| initial transition code
|===


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