Constructors
Synopses
Declared in <baltzo_localtimedescriptor.h>
Create a LocalTimeDescriptor object having the default attribute values.
Create a LocalTimeDescriptor object having the same value and the same allocator as the specified original object.
LocalTimeDescriptor(bslmf::MovableRef<LocalTimeDescriptor> original) noexcept;
Create a LocalTimeDescriptor object having default attribute values, using the specified allocator to supply memory.
explicit
LocalTimeDescriptor(allocator_type const& allocator);
Create a LocalTimeDescriptor by moving from the specified original using the specified allocator.
LocalTimeDescriptor(
bslmf::MovableRef<LocalTimeDescriptor> original,
allocator_type const& allocator);
Create a LocalTimeDescriptor object having the same value as the specified original object.
LocalTimeDescriptor(
LocalTimeDescriptor const& original,
allocator_type const& allocator = allocator_type());
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());
Parameters
Name |
Description |
original |
the object to move from |
allocator |
the allocator used to supply memory |
utcOffsetInSeconds |
signed offset from UTC in seconds |
dstInEffectFlag |
|
description |
non‐canonical identifier for this descriptor |
Created with MrDocs