BloombergLP::baltzo::TimeZoneUtilImp::createLocalTimePeriod

Load local-time period attributes for transition in timeZone.

Synopsis

Declared in <baltzo_timezoneutilimp.h>

static
void
createLocalTimePeriod(
    LocalTimePeriod* result,
    Zoneinfo::TransitionConstIterator const& transition,
    Zoneinfo const& timeZone);

Description

Load, into the specified result, attributes characterizing local time indicated by the specified transition in the specified timeZone. The behavior is undefined unless ZoneinfoUtil::isWellFormed(timeZone) is true and transition is a valid, non-ending, iterator into the sequence of transitions described by timeZone.

Parameters

NameDescription
resultreceives the local-time period attributes
transitioniterator to the characterizing zoneinfo transition
timeZonewell-formed zoneinfo providing transition data