| // Copyright 2017 the V8 project authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef V8_BASE_PLATFORM_PLATFORM_POSIX_TIME_H_ |
| #define V8_BASE_PLATFORM_PLATFORM_POSIX_TIME_H_ |
| |
| #include "src/base/platform/platform-posix.h" |
| |
| namespace v8 { |
| namespace base { |
| |
| class PosixDefaultTimezoneCache : public PosixTimezoneCache { |
| public: |
| const char* LocalTimezone(double time_ms) override; |
| double LocalTimeOffset(double time_ms, bool is_utc) override; |
| |
| ~PosixDefaultTimezoneCache() override = default; |
| }; |
| |
| } // namespace base |
| } // namespace v8 |
| |
| #endif // V8_BASE_PLATFORM_PLATFORM_POSIX_TIME_H_ |