v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ICUTimezoneCache Class Reference
Inheritance diagram for v8::internal::ICUTimezoneCache:
Collaboration diagram for v8::internal::ICUTimezoneCache:

Public Member Functions

 ICUTimezoneCache ()
 
 ~ICUTimezoneCache () override
 
const char * LocalTimezone (double time_ms) override
 
double DaylightSavingsOffset (double time_ms) override
 
double LocalTimeOffset (double time_ms, bool is_utc) override
 
void Clear (TimeZoneDetection time_zone_detection) override
 
- Public Member Functions inherited from v8::base::TimezoneCache
virtual ~TimezoneCache ()=default
 

Private Member Functions

icu::TimeZone * GetTimeZone ()
 
bool GetOffsets (double time_ms, bool is_utc, int32_t *raw_offset, int32_t *dst_offset)
 

Private Attributes

icu::TimeZone * timezone_
 
std::string timezone_name_
 
std::string dst_timezone_name_
 

Additional Inherited Members

- Public Types inherited from v8::base::TimezoneCache
enum class  TimeZoneDetection { kSkip , kRedetect }
 

Detailed Description

Definition at line 2680 of file intl-objects.cc.

Constructor & Destructor Documentation

◆ ICUTimezoneCache()

v8::internal::ICUTimezoneCache::ICUTimezoneCache ( )
inline

Definition at line 2682 of file intl-objects.cc.

Here is the call graph for this function:

◆ ~ICUTimezoneCache()

v8::internal::ICUTimezoneCache::~ICUTimezoneCache ( )
inlineoverride

Definition at line 2684 of file intl-objects.cc.

Here is the call graph for this function:

Member Function Documentation

◆ Clear()

void v8::internal::ICUTimezoneCache::Clear ( TimeZoneDetection time_zone_detection)
overridevirtual

Implements v8::base::TimezoneCache.

Definition at line 2757 of file intl-objects.cc.

Here is the caller graph for this function:

◆ DaylightSavingsOffset()

double v8::internal::ICUTimezoneCache::DaylightSavingsOffset ( double time_ms)
overridevirtual

Implements v8::base::TimezoneCache.

Definition at line 2745 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetOffsets()

bool v8::internal::ICUTimezoneCache::GetOffsets ( double time_ms,
bool is_utc,
int32_t * raw_offset,
int32_t * dst_offset )
private

Definition at line 2728 of file intl-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTimeZone()

icu::TimeZone * v8::internal::ICUTimezoneCache::GetTimeZone ( )
private

Definition at line 2721 of file intl-objects.cc.

Here is the caller graph for this function:

◆ LocalTimeOffset()

double v8::internal::ICUTimezoneCache::LocalTimeOffset ( double time_ms,
bool is_utc )
overridevirtual

Implements v8::base::TimezoneCache.

Definition at line 2751 of file intl-objects.cc.

Here is the call graph for this function:

◆ LocalTimezone()

const char * v8::internal::ICUTimezoneCache::LocalTimezone ( double time_ms)
overridevirtual

Implements v8::base::TimezoneCache.

Definition at line 2706 of file intl-objects.cc.

Here is the call graph for this function:

Member Data Documentation

◆ dst_timezone_name_

std::string v8::internal::ICUTimezoneCache::dst_timezone_name_
private

Definition at line 2703 of file intl-objects.cc.

◆ timezone_

icu::TimeZone* v8::internal::ICUTimezoneCache::timezone_
private

Definition at line 2700 of file intl-objects.cc.

◆ timezone_name_

std::string v8::internal::ICUTimezoneCache::timezone_name_
private

Definition at line 2702 of file intl-objects.cc.


The documentation for this class was generated from the following file: