Lines Matching refs:duration
213 std::string duration = toDurationString(std::chrono::milliseconds(timeMs)); in toDurationStringFromUint() local
214 if (duration.empty()) in toDurationStringFromUint()
219 return std::make_optional(duration); in toDurationStringFromUint()
250 std::string toISO8061ExtendedStr(std::chrono::duration<IntType, Period> t) in toISO8061ExtendedStr()
252 using seconds = std::chrono::duration<int>; in toISO8061ExtendedStr()
253 using minutes = std::chrono::duration<int, std::ratio<60>>; in toISO8061ExtendedStr()
254 using hours = std::chrono::duration<int, std::ratio<3600>>; in toISO8061ExtendedStr()
255 using days = std::chrono::duration< in toISO8061ExtendedStr()
276 t = days(1) - std::chrono::duration<IntType, Period>(1); in toISO8061ExtendedStr()
283 t = std::chrono::duration<IntType, Period>::zero(); in toISO8061ExtendedStr()
299 using MilliDuration = std::chrono::duration<int, std::milli>; in toISO8061ExtendedStr()
305 using MicroDuration = std::chrono::duration<int, std::micro>; in toISO8061ExtendedStr()
322 using DurationType = std::chrono::duration<uint64_t>; in getDateTimeUint()
333 using DurationType = std::chrono::duration<uint64_t, std::milli>; in getDateTimeUintMs()
341 using DurationType = std::chrono::duration<uint64_t, std::micro>; in getDateTimeUintUs()
348 using DurationType = std::chrono::duration<std::time_t>; in getDateTimeStdtime()
381 using usSinceEpoch = std::chrono::duration<int64_t, std::micro>;