• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
10 #include "quiche/common/platform/api/quiche_export.h"
11 #include "third_party/abseil-cpp/absl/types/optional.h"
12 
13 namespace quiche {
14 
15 QUICHE_EXPORT absl::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