mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user