BloombergLP::baltzo::LocalTimeDescriptor::LocalTimeDescriptor

Constructors

Synopses

Declared in <baltzo_localtimedescriptor.h>

Create a LocalTimeDescriptor object having the (default) attribute values: ` utcOffsetInSeconds() == 0 dstInEffectFlag() == false description() == "" ` Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.

LocalTimeDescriptor();
» more...

Create a LocalTimeDescriptor object having the same value and the same allocator as the specified original object. The value of original becomes unspecified but valid, and its allocator remains unchanged.

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 object having the same value as the specified original object, using the specified allocator (e.g., the address of a bslma::Allocator object) to supply memory. The allocator of original remains unchanged. If original and the newly created object have the same allocator then the value of original becomes unspecified but valid, and no exceptions will be thrown; otherwise original is unchanged and an exception may be thrown.

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

Create a LocalTimeDescriptor object having the same value as the specified original object. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.

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

Create a LocalTimeDescriptor object having the specified utcOffsetInSeconds, dstInEffectFlag, and description 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 -86339 <= utcOffsetInSeconds <= 86399.

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