mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T259, Ref T243 timestamp utility functions
This commit is contained in:
@@ -47,6 +47,9 @@ namespace BlackMisc
|
||||
//! Objects without valid timestamp
|
||||
CONTAINER findInvalidTimestamps() const;
|
||||
|
||||
//! Find closest (or default)
|
||||
OBJ findClosestTimeDistance(qint64 msSinceEpoch) const;
|
||||
|
||||
//! Has invalid timestamp
|
||||
bool hasInvalidTimestamps() const;
|
||||
|
||||
@@ -146,7 +149,10 @@ namespace BlackMisc
|
||||
//! \remark all object must have a valid timestamp
|
||||
bool isSortedAdjustedLatestFirst() const;
|
||||
|
||||
protected:
|
||||
//! Closest adjusted time difference
|
||||
OBJ findClosestTimeDistanceAdjusted(qint64 msSinceEpoch) const;
|
||||
|
||||
protected:
|
||||
//! Constructor
|
||||
ITimestampWithOffsetObjectList();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user