BloombergLP::baltzo::ZoneinfoBinaryHeader::ZoneinfoBinaryHeader

Create a ZoneinfoBinaryHeader with the specified attribute values.

Synopsis

Declared in <baltzo_zoneinfobinaryheader.h>

ZoneinfoBinaryHeader(
    char version,
    int numIsGmt,
    int numIsStd,
    int numLeaps,
    int numTransitions,
    int numLocalTimeTypes,
    int abbrevDataSize);

Description

Create a ZoneinfoBinaryHeader having the specified version, numIsGmt, numIsStd, numLeaps, numTransitions, numLocalTimeTypes, and abbrevDataSize values. The behavior is undefined unless ('0' <= version && version <= '4'), 0 <= numIsGmt`, 0 <= numIsStd, 0 <= numLeaps, 0 <= numTransitions, 1 <= numLocalTimeTypes, and 1 <= abbrevDataSize.

Parameters

NameDescription
versionZoneinfo file format version
numIsGmtnumber of UTC/local indicators
numIsStdnumber of standard/wall indicators
numLeapsnumber of leap corrections
numTransitionsnumber of local-time type transitions
numLocalTimeTypesnumber of local-time types
abbrevDataSizelength of abbreviation data