Sha256: 1a2c064686e75599266a08335e49a68ed7174511c75be84c602ba7972563b762
Contents?: true
Size: 848 Bytes
Versions: 5
Compression:
Stored size: 848 Bytes
Contents
// 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_H_ #define V8_BASE_PLATFORM_PLATFORM_POSIX_H_ #include "src/base/platform/platform.h" #include "src/base/timezone-cache.h" namespace v8 { namespace base { class PosixTimezoneCache : public TimezoneCache { public: const char* LocalTimezone(double time_ms) override; double DaylightSavingsOffset(double time_ms) override; double LocalTimeOffset() override; void Clear() override {} ~PosixTimezoneCache() override {} protected: static const int msPerSecond = 1000; }; int GetProtectionFromMemoryPermission(OS::MemoryPermission access); } // namespace base } // namespace v8 #endif // V8_BASE_PLATFORM_PLATFORM_POSIX_H_
Version data entries
5 entries across 5 versions & 1 rubygems