[traffxml] Store message cache in file

So far only API and tests, and without decoded segments

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-06-20 17:23:22 +03:00
parent 371a58f6f9
commit 9fb08bdc56
7 changed files with 246 additions and 18 deletions

View File

@@ -161,6 +161,11 @@ void IsoTime::Shift(IsoTime nowRef)
m_tp += offset;
}
std::string IsoTime::ToString() const
{
return std::format("{0:%F}T{0:%T}{0:%Ez}", time_point_cast<std::chrono::seconds>(m_tp));
}
bool IsoTime::operator< (IsoTime & rhs)
{
return m_tp < rhs.m_tp;