|
BDE 4.39.x Production Release
|
#include <bdlt_fuzzutil.h>
This utility struct provides a namespace for a suite of functions that produce objects of date and time values from fuzz data.
See bdlt_fuzzutil
Static Public Member Functions | |
| static bdlt::Date | consumeDate (bslim::FuzzDataView *fuzzDataView) |
| static bdlt::Date | consumeDateInRange (bslim::FuzzDataView *fuzzDataView, const bdlt::Date &begin, const bdlt::Date &end) |
| static DateTz | consumeDateTz (bslim::FuzzDataView *fuzzDataView) |
| static DateTz | consumeDateTzInRange (bslim::FuzzDataView *fuzzDataView, const bdlt::Date &begin, const bdlt::Date &end) |
| static Datetime | consumeDatetime (bslim::FuzzDataView *fuzzDataView) |
| static Datetime | consumeDatetimeInRange (bslim::FuzzDataView *fuzzDataView, const bdlt::Date &begin, const bdlt::Date &end) |
| static DatetimeTz | consumeDatetimeTz (bslim::FuzzDataView *fuzzDataView) |
| static DatetimeTz | consumeDatetimeTzInRange (bslim::FuzzDataView *fuzzDataView, const bdlt::Date &begin, const bdlt::Date &end) |
| static Time | consumeTime (bslim::FuzzDataView *fuzzDataView) |
| static TimeTz | consumeTimeTz (bslim::FuzzDataView *fuzzDataView) |
| static int | consumeTz (bslim::FuzzDataView *fuzzDataView) |
|
inlinestatic |
Return a Date based on the next bytes from the specified fuzzDataView, and update fuzzDataView to reflect the bytes consumed.
|
inlinestatic |
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.
begin <= end.
|
static |
Return a Datetime based on the next bytes from the specified fuzzDataView, and update fuzzDataView to reflect the bytes consumed.
|
static |
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.
begin <= end.
|
static |
Return a DatetimeTz based on the next bytes from the specified fuzzDataView, and update fuzzDataView to reflect the bytes consumed.
|
static |
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.
begin <= end.
|
static |
Return a DateTz based on the next bytes from the specified fuzzDataView, and update fuzzDataView to reflect the bytes consumed.
|
static |
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.
begin <= end.
|
static |
Return a Time based on the next bytes from the specified fuzzDataView, and update fuzzDataView to reflect the bytes consumed.
|
static |
Return a TimeTz based on the next bytes from the specified fuzzDataView, and update fuzzDataView to reflect the bytes consumed.
|
inlinestatic |
Return a timezone offset in minutes.