BloombergLP::baltzo::LocalTimeDescriptor::LocalTimeDescriptor

Constructors

Synopses

Declared in <baltzo_localtimedescriptor.h>

Create a LocalTimeDescriptor object having the default attribute values.

LocalTimeDescriptor();
» more...

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

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

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

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

Create a LocalTimeDescriptor by moving from the specified original using the specified allocator.

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

Create a LocalTimeDescriptor object having the same value as the specified original object.

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

Create a LocalTimeDescriptor object having the specified utcOffsetInSeconds, dstInEffectFlag, and description attribute values.

LocalTimeDescriptor(
    int utcOffsetInSeconds,
    bool dstInEffectFlag,
    std::string_view const& description,
    allocator_type const& allocator = allocator_type());
» more...

Parameters

NameDescription
originalthe object to move from
allocatorthe allocator used to supply memory
utcOffsetInSecondssigned offset from UTC in seconds
dstInEffectFlagtrue if Daylight-Saving Time is in effect
descriptionnon-canonical identifier for this descriptor