25 return std::chrono::duration_cast<
Duration>(
26 std::chrono::duration<double>(seconds));
30 return std::chrono::duration_cast<std::chrono::duration<double>>(duration)
44 return std::chrono::duration_cast<
Duration>(
45 std::chrono::milliseconds(milliseconds));
common::Duration FromMilliseconds(const int64 milliseconds)
std::ostream & operator<<(std::ostream &os, const Time time)
UniversalTimeScaleClock::time_point Time
Time FromUniversal(const int64 ticks)
Duration FromSeconds(const double seconds)
UniversalTimeScaleClock::duration Duration
int64 ToUniversal(const Time time)
double ToSeconds(const Duration duration)