Ref T259, Ref T243 timestamp utility functions

This commit is contained in:
Klaus Basan
2018-03-04 22:26:11 +01:00
parent c061091bd2
commit 7beab371a1
3 changed files with 35 additions and 1 deletions

View File

@@ -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();
};