V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
platform-posix-time.h
1 // Copyright 2017 the V8 project authors. All rights reserved.
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 V8_BASE_PLATFORM_PLATFORM_POSIX_TIME_H_
6 #define V8_BASE_PLATFORM_PLATFORM_POSIX_TIME_H_
7 
8 #include "src/base/platform/platform-posix.h"
9 
10 namespace v8 {
11 namespace base {
12 
14  public:
15  const char* LocalTimezone(double time_ms) override;
16  double LocalTimeOffset(double time_ms, bool is_utc) override;
17 
18  ~PosixDefaultTimezoneCache() override = default;
19 };
20 
21 } // namespace base
22 } // namespace v8
23 
24 #endif // V8_BASE_PLATFORM_PLATFORM_POSIX_TIME_H_
Definition: libplatform.h:13