// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cast/common/certificate/date_time.h" #include "util/osp_logging.h" namespace openscreen::cast { bool operator<(const DateTime& a, const DateTime& b) { … } bool operator>(const DateTime& a, const DateTime& b) { … } bool DateTimeFromSeconds(uint64_t seconds, DateTime* time) { … } static_assert …; std::chrono::seconds DateTimeToSeconds(const DateTime& time) { … } } // namespace openscreen::cast