Ref T261, timestamp utility functions

This commit is contained in:
Klaus Basan
2018-04-27 02:11:15 +02:00
committed by Roland Winklmeier
parent d390116666
commit d1f5635bd1
4 changed files with 192 additions and 28 deletions

View File

@@ -335,7 +335,7 @@ namespace BlackMisc
switch (i)
{
case IndexOffsetMs: { return QVariant::fromValue(m_timeOffsetMs); }
case IndexAdjustedMisWithOffset: { return QVariant::fromValue(this->getAdjustedMSecsSinceEpoch()); }
case IndexAdjustedMsWithOffset: { return QVariant::fromValue(this->getAdjustedMSecsSinceEpoch()); }
case IndexOffsetWithUnit: { return QVariant::fromValue(this->getTimeOffsetWithUnit()); }
default: break;
}