#include "cast/streaming/impl/ntp_time.h"
#include "util/osp_logging.h"
namespace openscreen::cast {
namespace {
constexpr NtpSeconds kTimeBetweenNtpEpochAndUnixEpoch{ … };
}
NtpTimeConverter::NtpTimeConverter(Clock::time_point now,
std::chrono::seconds since_unix_epoch)
: … { … }
NtpTimeConverter::~NtpTimeConverter() = default;
NtpTimestamp NtpTimeConverter::ToNtpTimestamp(
Clock::time_point time_point) const { … }
Clock::time_point NtpTimeConverter::ToLocalTime(NtpTimestamp timestamp) const { … }
}