[#BloombergLP-bdlt-PosixDateImpUtil-isLeapYear]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/PosixDateImpUtil.adoc[PosixDateImpUtil]::isLeapYear
:relfileprefix: ../../../
:mrdocs:

Return `true` if the specified `year` is a leap year, and `false` otherwise&period; The behavior is undefined unless `1 &lt;&equals; year &lt;&equals; 9999`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;posixdateimputil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
isLeapYear(int year);
----

== Return Value

`true` if `year` is a leap year, `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *year*
| calendar year in `&lsqb;1 &period;&period; 9999&rsqb;`
|===


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