Constructors

Synopses

Declared in <baltzo_localtimeperiod.h>

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

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

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

explicit
LocalTimePeriod(allocator_type const& allocator);

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

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

LocalTimePeriod(
    LocalTimePeriod const& original,
    allocator_type const& allocator = allocator_type());

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());

Parameters

Name

Description

original

the object to move from

allocator

the allocator used to supply memory

descriptor

local time descriptor for the period

utcStartTime

UTC start time of the period

utcEndTime

UTC end time of the period

Created with MrDocs