V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
platform-posix.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_H_
6 #define V8_BASE_PLATFORM_PLATFORM_POSIX_H_
7 
8 #include "src/base/platform/platform.h"
9 #include "src/base/timezone-cache.h"
10 
11 namespace v8 {
12 namespace base {
13 
15  public:
16  double DaylightSavingsOffset(double time_ms) override;
17  void Clear() override {}
18  ~PosixTimezoneCache() override = default;
19 
20  protected:
21  static const int msPerSecond = 1000;
22 };
23 
24 } // namespace base
25 } // namespace v8
26 
27 #endif // V8_BASE_PLATFORM_PLATFORM_POSIX_H_
Definition: libplatform.h:13