[#BloombergLP-baltzo-LocalTimePeriod-2constructor-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod]::LocalTimePeriod :relfileprefix: ../../../ :mrdocs: Create a `LocalTimePeriod` object having the specified `descriptor`, `utcStartTime`, and `utcEndTime` attribute values. Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the default allocator is used. The behavior is undefined unless `utcStartTime == utcEndTime`, or if `utcStartTime` and `utcEndTime` are comparable (i.e., neither equals the a default constructed `bdlt::DateTime` object) unless `utcStartTime < utcEndTime`. (See the `isValidUtcStartAndEndTime` method.) == Synopsis Declared in `<baltzo_localtimeperiod.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- LocalTimePeriod( xref:BloombergLP/baltzo/LocalTimeDescriptor.adoc[LocalTimeDescriptor] const& descriptor, xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcStartTime, xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcEndTime, xref:BloombergLP/baltzo/LocalTimePeriod/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#