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

#include <js-temporal-objects.h>

Inheritance diagram for v8::internal::JSTemporalTimeZone:
Collaboration diagram for v8::internal::JSTemporalTimeZone:

Public Member Functions

int32_t time_zone_index () const
 
int64_t offset_nanoseconds () const
 
void set_offset_nanoseconds (int64_t offset_nanoseconds)
 
MaybeDirectHandle< Stringid (Isolate *isolate) const
 

Static Public Member Functions

static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalTimeZoneNow (Isolate *isolate)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalTimeZoneConstructor (Isolate *isolate, DirectHandle< JSFunction > target, DirectHandle< HeapObject > new_target, DirectHandle< Object > identifier)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstantGetInstantFor (Isolate *isolate, DirectHandle< JSTemporalTimeZone > time_zone, DirectHandle< Object > dateTime, DirectHandle< Object > options)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalPlainDateTimeGetPlainDateTimeFor (Isolate *isolate, DirectHandle< JSTemporalTimeZone > time_zone, DirectHandle< Object > instance, DirectHandle< Object > calendar_like)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectGetNextTransition (Isolate *isolate, DirectHandle< JSTemporalTimeZone > time_zone, DirectHandle< Object > starting_point)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectGetPreviousTransition (Isolate *isolate, DirectHandle< JSTemporalTimeZone > time_zone, DirectHandle< Object > starting_point)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSArrayGetPossibleInstantsFor (Isolate *isolate, DirectHandle< JSTemporalTimeZone > time_zone, DirectHandle< Object > date_time)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectGetOffsetNanosecondsFor (Isolate *isolate, DirectHandle< JSTemporalTimeZone > time_zone, DirectHandle< Object > instance)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringGetOffsetStringFor (Isolate *isolate, DirectHandle< JSTemporalTimeZone > time_zone, DirectHandle< Object > instance)
 
static MaybeDirectHandle< ObjectToString (Isolate *isolate, DirectHandle< JSTemporalTimeZone > time_zone, const char *method_name)
 

Static Public Attributes

static constexpr int32_t kUTCTimeZoneIndex = 0
 

Detailed Description

Definition at line 867 of file js-temporal-objects.h.

Member Function Documentation

◆ Constructor()

MaybeDirectHandle< JSTemporalTimeZone > v8::internal::JSTemporalTimeZone::Constructor ( Isolate * isolate,
DirectHandle< JSFunction > target,
DirectHandle< HeapObject > new_target,
DirectHandle< Object > identifier )
static

Definition at line 10830 of file js-temporal-objects.cc.

Here is the call graph for this function:

◆ GetInstantFor()

MaybeDirectHandle< JSTemporalInstant > v8::internal::JSTemporalTimeZone::GetInstantFor ( Isolate * isolate,
DirectHandle< JSTemporalTimeZone > time_zone,
DirectHandle< Object > dateTime,
DirectHandle< Object > options )
static

Definition at line 10889 of file js-temporal-objects.cc.

Here is the call graph for this function:

◆ GetNextTransition()

MaybeDirectHandle< Object > v8::internal::JSTemporalTimeZone::GetNextTransition ( Isolate * isolate,
DirectHandle< JSTemporalTimeZone > time_zone,
DirectHandle< Object > starting_point )
static

Definition at line 11045 of file js-temporal-objects.cc.

Here is the call graph for this function:

◆ GetOffsetNanosecondsFor()

MaybeDirectHandle< Object > v8::internal::JSTemporalTimeZone::GetOffsetNanosecondsFor ( Isolate * isolate,
DirectHandle< JSTemporalTimeZone > time_zone,
DirectHandle< Object > instance )
static

Definition at line 11207 of file js-temporal-objects.cc.

Here is the call graph for this function:

◆ GetOffsetStringFor()

MaybeDirectHandle< String > v8::internal::JSTemporalTimeZone::GetOffsetStringFor ( Isolate * isolate,
DirectHandle< JSTemporalTimeZone > time_zone,
DirectHandle< Object > instance )
static

Definition at line 11234 of file js-temporal-objects.cc.

◆ GetPlainDateTimeFor()

MaybeDirectHandle< JSTemporalPlainDateTime > v8::internal::JSTemporalTimeZone::GetPlainDateTimeFor ( Isolate * isolate,
DirectHandle< JSTemporalTimeZone > time_zone,
DirectHandle< Object > instance,
DirectHandle< Object > calendar_like )
static

Definition at line 10984 of file js-temporal-objects.cc.

Here is the call graph for this function:

◆ GetPossibleInstantsFor()

MaybeDirectHandle< JSArray > v8::internal::JSTemporalTimeZone::GetPossibleInstantsFor ( Isolate * isolate,
DirectHandle< JSTemporalTimeZone > time_zone,
DirectHandle< Object > date_time )
static

Definition at line 11138 of file js-temporal-objects.cc.

Here is the call graph for this function:

◆ GetPreviousTransition()

MaybeDirectHandle< Object > v8::internal::JSTemporalTimeZone::GetPreviousTransition ( Isolate * isolate,
DirectHandle< JSTemporalTimeZone > time_zone,
DirectHandle< Object > starting_point )
static

Definition at line 11053 of file js-temporal-objects.cc.

Here is the call graph for this function:

◆ id()

MaybeDirectHandle< String > v8::internal::JSTemporalTimeZone::id ( Isolate * isolate) const

Definition at line 11275 of file js-temporal-objects.cc.

Here is the call graph for this function:

◆ Now()

MaybeDirectHandle< JSTemporalTimeZone > v8::internal::JSTemporalTimeZone::Now ( Isolate * isolate)
static

Definition at line 10824 of file js-temporal-objects.cc.

◆ offset_nanoseconds()

int64_t v8::internal::JSTemporalTimeZone::offset_nanoseconds ( ) const

Definition at line 11263 of file js-temporal-objects.cc.

Here is the caller graph for this function:

◆ set_offset_nanoseconds()

void v8::internal::JSTemporalTimeZone::set_offset_nanoseconds ( int64_t offset_nanoseconds)

Definition at line 11270 of file js-temporal-objects.cc.

◆ time_zone_index()

int32_t v8::internal::JSTemporalTimeZone::time_zone_index ( ) const

Definition at line 11258 of file js-temporal-objects.cc.

◆ ToString()

MaybeDirectHandle< Object > v8::internal::JSTemporalTimeZone::ToString ( Isolate * isolate,
DirectHandle< JSTemporalTimeZone > time_zone,
const char * method_name )
static

Definition at line 11252 of file js-temporal-objects.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ kUTCTimeZoneIndex

int32_t v8::internal::JSTemporalTimeZone::kUTCTimeZoneIndex = 0
staticconstexpr

Definition at line 936 of file js-temporal-objects.h.


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