mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T241, Ref T243, ITimestampWithOffsetObjectList
* there was already ITimestampWithOffsetBased for objects * this creates the container version * functions to add objects (parts/situations) and guarantee the sort order * moved push_frontMaxElements to CSequence (not specific for timestamp lists) * added in-place reverse
This commit is contained in:
@@ -290,6 +290,11 @@ namespace BlackMisc
|
||||
return (i >= static_cast<int>(IndexOffsetMs)) && (i <= static_cast<int>(IndexOffsetWithUnit));
|
||||
}
|
||||
|
||||
bool ITimestampWithOffsetBased::hasOffsetTime() const
|
||||
{
|
||||
return m_timeOffsetMs != 0;
|
||||
}
|
||||
|
||||
QString ITimestampWithOffsetBased::getTimeOffsetWithUnit() const
|
||||
{
|
||||
static const QString os("%1ms");
|
||||
|
||||
Reference in New Issue
Block a user