[#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`&period;

== Synopsis

Declared in `&lt;baltzo&lowbar;zoneinfobinaryheader&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setNumLeaps(int value);
----

== Description

The behavior is undefined unless `0 &lt;&equals; value`&period; 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&hyphen;zero number of such transactions to be accepted&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| the number of leap corrections to assign
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
