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

#include <js-temporal-objects.h>

Inheritance diagram for v8::internal::JSTemporalInstant:
Collaboration diagram for v8::internal::JSTemporalInstant:

Static Public Member Functions

static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstantConstructor (Isolate *isolate, DirectHandle< JSFunction > target, DirectHandle< HeapObject > new_target, DirectHandle< Object > epoch_nanoseconds)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstantNow (Isolate *isolate)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstantFromEpochSeconds (Isolate *isolate, DirectHandle< Object > epoch_seconds)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstantFromEpochMilliseconds (Isolate *isolate, DirectHandle< Object > epoch_milliseconds)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstantFromEpochMicroseconds (Isolate *isolate, DirectHandle< Object > epoch_microseconds)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstantFromEpochNanoseconds (Isolate *isolate, DirectHandle< Object > epoch_nanoseconds)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstantRound (Isolate *isolate, DirectHandle< JSTemporalInstant > instant, DirectHandle< Object > round_to)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstantFrom (Isolate *isolate, DirectHandle< Object > item)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalZonedDateTimeToZonedDateTime (Isolate *isolate, DirectHandle< JSTemporalInstant > instant, DirectHandle< Object > item)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalZonedDateTimeToZonedDateTimeISO (Isolate *isolate, DirectHandle< JSTemporalInstant > instant, DirectHandle< Object > item)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< SmiCompare (Isolate *isolate, DirectHandle< Object > one, DirectHandle< Object > two)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< OddballEquals (Isolate *isolate, DirectHandle< JSTemporalInstant > instant, DirectHandle< Object > other)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstantAdd (Isolate *isolate, DirectHandle< JSTemporalInstant > instant, DirectHandle< Object > temporal_duration_like)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstantSubtract (Isolate *isolate, DirectHandle< JSTemporalInstant > instant, DirectHandle< Object > temporal_duration_like)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringToJSON (Isolate *isolate, DirectHandle< JSTemporalInstant > instant)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringToLocaleString (Isolate *isolate, DirectHandle< JSTemporalInstant > instant, DirectHandle< Object > locales, DirectHandle< Object > options)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringToString (Isolate *isolate, DirectHandle< JSTemporalInstant > instant, DirectHandle< Object > options)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalDurationUntil (Isolate *isolate, DirectHandle< JSTemporalInstant > instant, DirectHandle< Object > other, DirectHandle< Object > options)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalDurationSince (Isolate *isolate, DirectHandle< JSTemporalInstant > instant, DirectHandle< Object > other, DirectHandle< Object > options)
 

Detailed Description

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

Member Function Documentation

◆ Add()

MaybeDirectHandle< JSTemporalInstant > v8::internal::JSTemporalInstant::Add ( Isolate * isolate,
DirectHandle< JSTemporalInstant > instant,
DirectHandle< Object > temporal_duration_like )
static

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

Here is the call graph for this function:

◆ Compare()

MaybeDirectHandle< Smi > v8::internal::JSTemporalInstant::Compare ( Isolate * isolate,
DirectHandle< Object > one,
DirectHandle< Object > two )
static

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

Here is the call graph for this function:

◆ Constructor()

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

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

Here is the call graph for this function:

◆ Equals()

MaybeDirectHandle< Oddball > v8::internal::JSTemporalInstant::Equals ( Isolate * isolate,
DirectHandle< JSTemporalInstant > instant,
DirectHandle< Object > other )
static

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

Here is the call graph for this function:

◆ From()

MaybeDirectHandle< JSTemporalInstant > v8::internal::JSTemporalInstant::From ( Isolate * isolate,
DirectHandle< Object > item )
static

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

Here is the call graph for this function:

◆ FromEpochMicroseconds()

MaybeDirectHandle< JSTemporalInstant > v8::internal::JSTemporalInstant::FromEpochMicroseconds ( Isolate * isolate,
DirectHandle< Object > epoch_microseconds )
static

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

◆ FromEpochMilliseconds()

MaybeDirectHandle< JSTemporalInstant > v8::internal::JSTemporalInstant::FromEpochMilliseconds ( Isolate * isolate,
DirectHandle< Object > epoch_milliseconds )
static

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

◆ FromEpochNanoseconds()

MaybeDirectHandle< JSTemporalInstant > v8::internal::JSTemporalInstant::FromEpochNanoseconds ( Isolate * isolate,
DirectHandle< Object > epoch_nanoseconds )
static

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

◆ FromEpochSeconds()

MaybeDirectHandle< JSTemporalInstant > v8::internal::JSTemporalInstant::FromEpochSeconds ( Isolate * isolate,
DirectHandle< Object > epoch_seconds )
static

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

◆ Now()

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

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

◆ Round()

MaybeDirectHandle< JSTemporalInstant > v8::internal::JSTemporalInstant::Round ( Isolate * isolate,
DirectHandle< JSTemporalInstant > instant,
DirectHandle< Object > round_to )
static

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

Here is the call graph for this function:

◆ Since()

MaybeDirectHandle< JSTemporalDuration > v8::internal::JSTemporalInstant::Since ( Isolate * isolate,
DirectHandle< JSTemporalInstant > instant,
DirectHandle< Object > other,
DirectHandle< Object > options )
static

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

Here is the call graph for this function:

◆ Subtract()

MaybeDirectHandle< JSTemporalInstant > v8::internal::JSTemporalInstant::Subtract ( Isolate * isolate,
DirectHandle< JSTemporalInstant > instant,
DirectHandle< Object > temporal_duration_like )
static

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

Here is the call graph for this function:

◆ ToJSON()

MaybeDirectHandle< String > v8::internal::JSTemporalInstant::ToJSON ( Isolate * isolate,
DirectHandle< JSTemporalInstant > instant )
static

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

◆ ToLocaleString()

MaybeDirectHandle< String > v8::internal::JSTemporalInstant::ToLocaleString ( Isolate * isolate,
DirectHandle< JSTemporalInstant > instant,
DirectHandle< Object > locales,
DirectHandle< Object > options )
static

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

Here is the call graph for this function:

◆ ToString()

MaybeDirectHandle< String > v8::internal::JSTemporalInstant::ToString ( Isolate * isolate,
DirectHandle< JSTemporalInstant > instant,
DirectHandle< Object > options )
static

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

Here is the call graph for this function:

◆ ToZonedDateTime()

MaybeDirectHandle< JSTemporalZonedDateTime > v8::internal::JSTemporalInstant::ToZonedDateTime ( Isolate * isolate,
DirectHandle< JSTemporalInstant > instant,
DirectHandle< Object > item )
static

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

Here is the call graph for this function:

◆ ToZonedDateTimeISO()

MaybeDirectHandle< JSTemporalZonedDateTime > v8::internal::JSTemporalInstant::ToZonedDateTimeISO ( Isolate * isolate,
DirectHandle< JSTemporalInstant > instant,
DirectHandle< Object > item )
static

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

Here is the call graph for this function:

◆ Until()

MaybeDirectHandle< JSTemporalDuration > v8::internal::JSTemporalInstant::Until ( Isolate * isolate,
DirectHandle< JSTemporalInstant > instant,
DirectHandle< Object > other,
DirectHandle< Object > options )
static

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

Here is the call graph for this function:

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