Hegel 0.18.3
Property-based testing for C++
Loading...
Searching...
No Matches
hegel::generators::temporal::Time Struct Reference

A time of day from 00:00:00 to 23:59:59.999999999. More...

#include <temporal_types.h>

Public Attributes

uint8_t hour = 0
 The hour of the day.
uint8_t minute = 0
 The minute of the hour.
uint8_t second = 0
 The second of the minute.
uint32_t nanosecond = 0
 The nanosecond of the second.

Detailed Description

A time of day from 00:00:00 to 23:59:59.999999999.

hour is in [0, 23], minute and second in [0, 59] (no leap seconds) and nanosecond in [0, 999999999]. Prints as 02:30:00, with the fraction appended when it is not zero: 02:30:00.5.


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