|
Hegel 0.18.3
Property-based testing for C++
|
Parameters for offsets() generator. More...
#include <temporal.h>
Public Attributes | |
| std::optional< UtcOffset > | min_value |
| std::optional< UtcOffset > | max_value |
| Granularity | granularity = Granularity::Seconds |
| The drawn offset is a whole number of these units. | |
| bool | allow_unknown = false |
Parameters for offsets() generator.
| bool hegel::generators::temporal::OffsetsParams::allow_unknown = false |
Whether the draw may yield the unknown offset, RFC 3339's -00:00. It shrinks to a known offset first.
| std::optional<UtcOffset> hegel::generators::temporal::OffsetsParams::max_value |
Maximum offset (inclusive), which must be known. Default: MAX_OFFSET.
| std::optional<UtcOffset> hegel::generators::temporal::OffsetsParams::min_value |
Minimum offset (inclusive), which must be known. Default: -MAX_OFFSET.