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
14
class
PosixTimezoneCache
:
public
TimezoneCache
{
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_
v8::base::TimezoneCache
Definition:
timezone-cache.h:11
v8
Definition:
libplatform.h:13
v8::base::PosixTimezoneCache
Definition:
platform-posix.h:14
v8
src
base
platform
platform-posix.h
Generated on Tue Dec 25 2018 14:38:15 by
1.8.14