Represents a realtime clock in milliseconds since epoch (use Realtime::now for current time)
More...
#include <Time.h>
|
static Realtime | now () |
| Obtain time according to realtime clock.
|
|
Represents a realtime clock in milliseconds since epoch (use Realtime::now for current time)
◆ Absolute() [1/2]
SC::Time::Absolute::Absolute |
( |
| ) |
|
|
inline |
Construct an Absolute time equal to epoch.
◆ Absolute() [2/2]
SC::Time::Absolute::Absolute |
( |
int64_t | milliseconds | ) |
|
|
inline |
Construct an Absolute from milliseconds since epoch.
- Parameters
-
milliseconds | Number of milliseconds since epoch |
◆ getMillisecondsSinceEpoch()
int64_t SC::Time::Realtime::getMillisecondsSinceEpoch |
( |
| ) |
const |
|
inlinenodiscard |
Return given time as milliseconds since epoch.
◆ now()
static Realtime SC::Time::Realtime::now |
( |
| ) |
|
|
staticnodiscard |
Obtain time according to realtime clock.
The documentation for this struct was generated from the following file: