Home | History | Annotate | Download | only in platform
      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 
     13 class PosixDefaultTimezoneCache : public PosixTimezoneCache {
     14  public:
     15   const char* LocalTimezone(double time_ms) override;
     16   double LocalTimeOffset(double time_ms, bool is_utc) override;
     17 
     18   ~PosixDefaultTimezoneCache() override {}
     19 };
     20 
     21 }  // namespace base
     22 }  // namespace v8
     23 
     24 #endif  // V8_BASE_PLATFORM_PLATFORM_POSIX_TIME_H_
     25