chromium/net/third_party/quiche/overrides/quiche_platform_impl/quiche_time_utils_impl.h

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_TIME_UTILS_IMPL_H_
#define NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_TIME_UTILS_IMPL_H_

#include <cstdint>
#include <optional>

#include "quiche/common/platform/api/quiche_export.h"

namespace quiche {

QUICHE_EXPORT std::optional<int64_t> QuicheUtcDateTimeToUnixSecondsImpl(
    int year,
    int month,
    int day,
    int hour,
    int minute,
    int second);

}  // namespace quiche

#endif  // NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_TIME_UTILS_IMPL_H_