[#BloombergLP-bdlt-FuzzUtil-consumeDateInRange] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/FuzzUtil.adoc[FuzzUtil]::consumeDateInRange :relfileprefix: ../../../ :mrdocs: Return a `Date` between the specified `begin` and `end` dates. == Synopsis Declared in `<bdlt_fuzzutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlt/Date.adoc[bdlt::Date] consumeDateInRange( xref:BloombergLP/bslim/FuzzDataView.adoc[bslim::FuzzDataView]* fuzzDataView, xref:BloombergLP/bdlt/Date.adoc[bdlt::Date] const& begin, xref:BloombergLP/bdlt/Date.adoc[bdlt::Date] const& end); ---- == Description Return a `Date` between the specified `begin` and `end` dates based on the next bytes from the specified `fuzzDataView`, and update `fuzzDataView` to reflect the bytes consumed. The behavior is undefined unless `begin <= end`. == Return Value a `Date` between `begin` and `end` == Parameters [cols="1,4"] |=== | Name| Description | *fuzzDataView* | view providing fuzz input bytes | *begin* | inclusive lower bound date | *end* | inclusive upper bound date |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#