[#BloombergLP-baltzo-ZoneinfoBinaryHeader-setNumLeaps] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/ZoneinfoBinaryHeader.adoc[ZoneinfoBinaryHeader]::setNumLeaps :relfileprefix: ../../../ :mrdocs: Set the `numLeaps` attribute of this object to the specified `value`. The behavior is undefined unless `0 <= value`. While we do not provide parsed leap second transitions to clients, the requirement to be able to handle version `4` of the Zoneinfo binary data files as well forces us to allow a non‐zero number of such transactions to be accepted. == Synopsis Declared in `<baltzo_zoneinfobinaryheader.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setNumLeaps(int value); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#