// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/time/time.h" #include <stdint.h> #include <sys/time.h> #include <time.h> #include <limits> #include "base/check_op.h" namespace base { // static TimeDelta TimeDelta::FromTimeSpec(const timespec& ts) { … } struct timespec TimeDelta::ToTimeSpec() const { … } // static Time Time::FromTimeVal(struct timeval t) { … } struct timeval Time::ToTimeVal() const { … } } // namespace base