LTAPI
API to access LiveTraffic's aircraft information
|
Functions | |
time_t | timegm (struct tm *_Tm) |
Inverse for gmtime, i.e. converts struct tm to time_t in ZULU timezone. More... | |
std::string | hexStr (uint64_t n, unsigned minChars=6) |
Fairly fast conversion to hex string. More... | |
std::string LTAPI::hexStr | ( | uint64_t | n, |
unsigned | minChars = 6 |
||
) |
Fairly fast conversion to hex string.
n | The number to convert |
minChars | (optional, defaults to 6) minimum number of hex digits, pre-filled with 0 @return Upper-case hex string with at least minDigits` characters |
Idea is taken from std::to_chars
implementation available with C++ 17
time_t LTAPI::timegm | ( | struct tm * | _Tm | ) |
Inverse for gmtime, i.e. converts struct tm
to time_t
in ZULU timezone.
_Tm | Date/time structure to convert |
time_t
in ZULU timezone