[#BloombergLP-bdlt-FuzzUtil-consumeDateTzInRange] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/FuzzUtil.adoc[FuzzUtil]::consumeDateTzInRange :relfileprefix: ../../../ :mrdocs: Return a `DateTz` whose `localDate()` is between `begin` and `end`. == Synopsis Declared in `<bdlt_fuzzutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlt/DateTz.adoc[DateTz] consumeDateTzInRange( 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 `DateTz` whose `localDate()` is 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 `DateTz` whose local date is 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]#