Create a LocalTimeDescriptor object having the specified utcOffsetInSeconds, dstInEffectFlag, and description attribute values.
Synopsis
Declared in <baltzo_localtimedescriptor.h>
LocalTimeDescriptor(
int utcOffsetInSeconds,
bool dstInEffectFlag,
std::string_view const& description,
allocator_type const& allocator = allocator_type());
Description
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.
Parameters
Name |
Description |
utcOffsetInSeconds |
signed offset from UTC in seconds |
dstInEffectFlag |
|
description |
non‐canonical identifier for this descriptor |
allocator |
the allocator used to supply memory |
Created with MrDocs