1 // Copyright 2020 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_TIME_UTILS_IMPL_H_
6 #define NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_TIME_UTILS_IMPL_H_
7 
8 #include <cstdint>
9 #include <optional>
10 
11 #include "quiche/common/platform/api/quiche_export.h"
12 
13 namespace quiche {
14 
15 QUICHE_EXPORT std::optional<int64_t> QuicheUtcDateTimeToUnixSecondsImpl(
16     int year,
17     int month,
18     int day,
19     int hour,
20     int minute,
21     int second);
22 
23 }  // namespace quiche
24 
25 #endif  // NET_THIRD_PARTY_QUICHE_OVERRIDES_QUICHE_PLATFORM_IMPL_QUICHE_TIME_UTILS_IMPL_H_
26