Return a Datetime whose date() is between begin and end.
Declared in <bdlt_fuzzutil.h>
static
Datetime
consumeDatetimeInRange(
bslim::FuzzDataView* fuzzDataView,
bdlt::Date const& begin,
bdlt::Date const& end);
Return a Datetime whose date() 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.
a Datetime whose date is between begin and end
| Name | Description |
|---|---|
| fuzzDataView | view providing fuzz input bytes |
| begin | inclusive lower bound date |
| end | inclusive upper bound date |