BloombergLP::baltzo::LocalTimePeriod::LocalTimePeriod

Constructors

Synopses

Declared in <baltzo_localtimeperiod.h>

Create a LocalTimePeriod object having the (default) attribute values.

LocalTimePeriod();
» more...

Create a LocalTimePeriod object having the same value and the same allocator as the specified original object.

LocalTimePeriod(bslmf::MovableRef<LocalTimePeriod> original) noexcept;
» more...

Create a LocalTimePeriod object having default attribute values, using the specified allocator to supply memory.

explicit
LocalTimePeriod(allocator_type const& allocator);
» more...

Create a LocalTimePeriod object having the same value as the specified original object, using the specified allocator to supply memory.

LocalTimePeriod(
    bslmf::MovableRef<LocalTimePeriod> original,
    allocator_type const& allocator);
» more...

Create a LocalTimePeriod object with the same value as the specified original object.

LocalTimePeriod(
    LocalTimePeriod const& original,
    allocator_type const& allocator = allocator_type());
» more...

Create a LocalTimePeriod object having the specified descriptor, utcStartTime, and utcEndTime attribute values.

LocalTimePeriod(
    LocalTimeDescriptor const& descriptor,
    bdlt::Datetime const& utcStartTime,
    bdlt::Datetime const& utcEndTime,
    allocator_type const& allocator = allocator_type());
» more...

Parameters

NameDescription
originalthe object to move from
allocatorthe allocator used to supply memory
descriptorlocal time descriptor for the period
utcStartTimeUTC start time of the period
utcEndTimeUTC end time of the period