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

Name

Description

version

Zoneinfo file format version

numIsGmt

number of UTC/local indicators

numIsStd

number of standard/wall indicators

numLeaps

number of leap corrections

numTransitions

number of local‐time type transitions

numLocalTimeTypes

number of local‐time types

abbrevDataSize

length of abbreviation data

Created with MrDocs