Class representing a UTC timestamp.
#include <itimestamp.h>
|
| UtcTimestamp (uint64_t utc_timestamp) |
| Constructor for UtcTimeStamp.
|
|
uint64_t | GetTimeNs () const override |
| Get the time in nanoseconds.
|
|
int16_t | GetTimezoneMin () const override |
| Get the timezone offset in minutes.
|
|
int16_t | GetDstMin () const override |
| Get the daylight saving time offset in minutes.
|
|
uint64_t | GetUtcTimeNs () const override |
| Get the UTC time in nanoseconds.
|
|
virtual | ~ITimestamp ()=default |
| Virtual destructor for ITimestamp.
|
|
◆ UtcTimestamp()
mdf::UtcTimestamp::UtcTimestamp |
( |
uint64_t | utc_timestamp | ) |
|
|
explicit |
- Parameters
-
utc_timestamp | The UTC timestamp in nanoseconds. |
◆ GetDstMin()
int16_t mdf::UtcTimestamp::GetDstMin |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ GetTimeNs()
uint64_t mdf::UtcTimestamp::GetTimeNs |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ GetTimezoneMin()
int16_t mdf::UtcTimestamp::GetTimezoneMin |
( |
| ) |
const |
|
nodiscardoverridevirtual |
◆ GetUtcTimeNs()
uint64_t mdf::UtcTimestamp::GetUtcTimeNs |
( |
| ) |
const |
|
nodiscardoverridevirtual |
The documentation for this class was generated from the following file: