Mockable clock in the context of tests, otherwise the system clock.
More...
#include <time.h>
Mockable clock in the context of tests, otherwise the system clock.
Definition at line 16 of file time.h.
◆ time_point
◆ from_time_t()
| static time_point NodeClock::from_time_t |
( |
std::time_t | | ) |
|
|
staticdelete |
◆ now()
Return current system time or mocked time, if set.
Definition at line 21 of file time.cpp.
◆ to_time_t()
| static std::time_t NodeClock::to_time_t |
( |
const time_point & | | ) |
|
|
staticdelete |
The documentation for this struct was generated from the following files: