|
Hegel 0.18.3
Property-based testing for C++
|
A UTC offset: a known number of seconds east of UTC within ±25:59:59 (MAX_OFFSET), or the unknown offset of RFC 3339's -00:00, which the offset and zone draws yield only when asked to. More...
#include <temporal_types.h>
Public Attributes | |
| int32_t | seconds = 0 |
| Seconds east of UTC; 0 when not known. | |
| bool | known = true |
| False for the unknown offset. | |
A UTC offset: a known number of seconds east of UTC within ±25:59:59 (MAX_OFFSET), or the unknown offset of RFC 3339's -00:00, which the offset and zone draws yield only when asked to.
Prints as +05:30, -00:44:30 (the seconds appended when they are not zero) or -00:00. Two unknown offsets are equal whatever their seconds.