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.)
Declared in <baltzo_localtimeperiod.h>
LocalTimePeriod(
LocalTimeDescriptor const& descriptor,
bdlt::Datetime const& utcStartTime,
bdlt::Datetime const& utcEndTime,
allocator_type const& allocator = allocator_type());