BloombergLP::baltzo::Zoneinfo::addTransition

Add a transition at the specified utcTime with the specified descriptor.

Synopsis

Declared in <baltzo_zoneinfo.h>

void
addTransition(
    bdlt::EpochUtil::TimeT64 utcTime,
    LocalTimeDescriptor const& descriptor);

Description

Add to this object a transition occurring at the specified utcTime when the local time in the described time-zone adopts the characteristics of the specified descriptor. If a transition at utcTime is already present, replace its local-time descriptor with descriptor.

Parameters

NameDescription
utcTimeUTC time of the transition
descriptorlocal-time descriptor to adopt