Utility functions for the ETSI ITS SPATEM. More...
#include <ctime>
Go to the source code of this file.
Functions | |
uint64_t | etsi_its_spatem_ts_msgs::access::getUnixSecondsOfYear (const uint64_t unixSecond) |
Get the unix seconds of the beginning of a year that corresponds to a given unix timestamp. | |
uint64_t | etsi_its_spatem_ts_msgs::access::getUnixNanosecondsFromMinuteOfTheYear (const MinuteOfTheYear &moy, const uint64_t unix_nanoseconds_estimate) |
Get the unix nanoseconds from MinuteOfTheYear object. | |
Utility functions for the ETSI ITS SPATEM.
Definition in file spatem_ts_utils.h.
|
inline |
Get the unix nanoseconds from MinuteOfTheYear object.
moy | given MinuteOfTheYear object |
unix_nanoseconds_estimate | unix timestamp to derive the current year from in nanoseconds |
Definition at line 71 of file spatem_ts_utils.h.
|
inline |
Get the unix seconds of the beginning of a year that corresponds to a given unix timestamp.
unixSecond | timestamp that defines the year for that the unix seconds for the beginning of the year should be derived |
Definition at line 46 of file spatem_ts_utils.h.