JS8Call-Improved master
Loading...
Searching...
No Matches
DriftingDateTime Namespace Reference

Functions

qint64 drift ()
void setDrift (qint64 ms)
QDateTime currentDateTimeUtc ()
QDateTime currentDateTimeLocal ()
qint64 currentMSecsSinceEpoch ()
qint64 currentSecsSinceEpoch ()

Detailed Description

This namespace contains some static convenience functions.

Function Documentation

◆ setDrift()

void DriftingDateTime::setDrift ( qint64 ms)
inline

This must only be called from whatever thread caused the first getSingleton to be called. If unsure, it is preferred to send a signal to object &DriftingDateTimeSingleton::getSingleton(), slot &DriftingDateTimeSingleton::setDrift .

Here is the call graph for this function: