|
Hegel 0.18.3
Property-based testing for C++
|
Parameters for datetimes() generator. More...
#include <temporal.h>
Public Attributes | |
| std::optional< DateTime > | min_value |
| std::optional< DateTime > | max_value |
| Precision | precision = Precision::Nanoseconds |
Parameters for datetimes() generator.
| std::optional<DateTime> hegel::generators::temporal::DatetimesParams::max_value |
Maximum datetime (inclusive). Default: the last nanosecond of MAX_YEAR.
| std::optional<DateTime> hegel::generators::temporal::DatetimesParams::min_value |
Minimum datetime (inclusive). Default: the first instant of MIN_YEAR.
| Precision hegel::generators::temporal::DatetimesParams::precision = Precision::Nanoseconds |
The drawn time of day is a whole number of these units since midnight.