Set the numLeaps attribute of this object to the specified value.
Declared in <baltzo_zoneinfobinaryheader.h>
void
setNumLeaps(int 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.
| Name | Description |
|---|---|
| value | the number of leap corrections to assign |