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