A local time-of-day.
More...
#include <date_time.hpp>
|
uint8_t | hour |
| The hour component, from 0 - 23.
|
|
uint8_t | minute |
| The minute component, from 0 - 59.
|
|
uint8_t | second |
| The second component, from 0 - 59.
|
|
uint32_t | nanosecond |
| The fractional nanoseconds component, from 0 - 999999999.
|
|
M | m |
|
M S | s = S{} |
|
◆ time()
Default constructor. Does not initialize the members.
◆ TOML_CONSTRAINED_TEMPLATE()
time::TOML_CONSTRAINED_TEMPLATE |
( |
(impl::all_integral< H, M, S, NS >) |
, |
|
|
typename H |
, |
|
|
typename M |
, |
|
|
typename S |
= uint8_t , |
|
|
typename NS |
= uint32_t |
|
) |
| const |
Constructs a time from individual time component values.
◆ hour
The hour component, from 0 - 23.
◆ minute
The minute component, from 0 - 59.
◆ nanosecond
uint32_t time::nanosecond |
The fractional nanoseconds component, from 0 - 999999999.
◆ second
The second component, from 0 - 59.
The documentation for this struct was generated from the following file: