Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bdlt::FuzzUtil Struct Reference

#include <bdlt_fuzzutil.h>

List of all members.

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)

Detailed Description

This utility struct provides a namespace for a suite of functions that produce objects of date and time values from fuzz data.

See Component bdlt_fuzzutil


Member Function Documentation

static bdlt::Date bdlt::FuzzUtil::consumeDate ( bslim::FuzzDataView fuzzDataView  )  [static]

Return a Date based on the next bytes from the specified fuzzDataView, and update fuzzDataView to reflect the bytes consumed.

static bdlt::Date bdlt::FuzzUtil::consumeDateInRange ( bslim::FuzzDataView fuzzDataView,
const bdlt::Date begin,
const bdlt::Date end 
) [static]

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.


The documentation for this struct was generated from the following file: