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

Return whether YMD is valid without using the date cache&period;

== Synopsis

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

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

== Description

Return `true` if the specified `year`, `month`, and `day` represents a valid date value, and `false` otherwise&period; Note that valid date values are (as fully defined in the component&hyphen;level documentation) in the range `&lsqb; 0001&sol;01&sol;01 &period;&period; 9999&sol;12&sol;31 &rsqb;` (except that `&lsqb; 1752&sol;09&sol;03 &period;&period; 1752&sol;09&sol;13 &rsqb;` are not valid for historical reasons)&period; Also note that this function is guaranteed not to use any date&hyphen;cache optimizations&period;

== Return Value

`true` if valid, `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *year*
| calendar year
| *month*
| month of year
| *day*
| day of month
|===


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