8 using std::ostringstream;
9 using std::istringstream;
16 const uint64_t nsecPerUsec = 1000;
19 uint64_t sec = secSinceNovaT0 +
novaT0Sec();
21 uint64_t tart = (sec << 32) + nsec;
39 uint64_t thilo = (tthi << 32) + tns;
56 string::size_type ipos = stime.find(
".");
57 if ( ipos != string::npos ) ++ipos;
58 while ( ipos < stime.size() && stime[ipos] ==
'0' ) ++ipos;
59 bool hasns = ipos < stime.size();
61 istringstream sssec(stime.substr(0,ipos));
65 istringstream ssns(stime.substr(ipos));
constexpr std::uint32_t timeLow() const
static art::Timestamp fromNova(uint64_t tnova)
static std::string toString(art::Timestamp tart)
constexpr std::uint32_t timeHigh() const
static art::Timestamp makeTimestamp(uint32_t tsec, uint32_t trem)
static uint64_t novaTicksPerSec()
static art::Timestamp fromString(std::string stime)
Q_EXPORT QTSManip setw(int w)
static uint64_t novaT0Sec()
Q_EXPORT QTSManip setfill(int f)
static uint64_t toNova(art::Timestamp tart)
static uint64_t novaTicksPerUsec()