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

#include <js-temporal-objects.h>

Inheritance diagram for v8::internal::JSTemporalDuration:
Collaboration diagram for v8::internal::JSTemporalDuration:

Static Public Member Functions

static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalDurationConstructor (Isolate *isolate, DirectHandle< JSFunction > target, DirectHandle< HeapObject > new_target, DirectHandle< Object > years, DirectHandle< Object > months, DirectHandle< Object > weeks, DirectHandle< Object > days, DirectHandle< Object > hours, DirectHandle< Object > minutes, DirectHandle< Object > seconds, DirectHandle< Object > milliseconds, DirectHandle< Object > microseconds, DirectHandle< Object > nanoseconds)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< SmiCompare (Isolate *isolate, DirectHandle< Object > one, DirectHandle< Object > two, DirectHandle< Object > options)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalDurationFrom (Isolate *isolate, DirectHandle< Object > item)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< SmiSign (Isolate *isolate, DirectHandle< JSTemporalDuration > duration)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< OddballBlank (Isolate *isolate, DirectHandle< JSTemporalDuration > duration)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalDurationNegated (Isolate *isolate, DirectHandle< JSTemporalDuration > duration)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalDurationAbs (Isolate *isolate, DirectHandle< JSTemporalDuration > duration)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalDurationAdd (Isolate *isolate, DirectHandle< JSTemporalDuration > duration, DirectHandle< Object > other, DirectHandle< Object > options)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalDurationSubtract (Isolate *isolate, DirectHandle< JSTemporalDuration > duration, DirectHandle< Object > other, DirectHandle< Object > options)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalDurationRound (Isolate *isolate, DirectHandle< JSTemporalDuration > duration, DirectHandle< Object > round_to_obj)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectTotal (Isolate *isolate, DirectHandle< JSTemporalDuration > duration, DirectHandle< Object > total_of)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringToJSON (Isolate *isolate, DirectHandle< JSTemporalDuration > duration)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringToLocaleString (Isolate *isolate, DirectHandle< JSTemporalDuration > duration, DirectHandle< Object > locales, DirectHandle< Object > options)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< StringToString (Isolate *isolate, DirectHandle< JSTemporalDuration > duration, DirectHandle< Object > options)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalDurationWith (Isolate *isolate, DirectHandle< JSTemporalDuration > duration, DirectHandle< Object > temporal_duration_like)
 

Detailed Description

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

Member Function Documentation

◆ Abs()

MaybeDirectHandle< JSTemporalDuration > v8::internal::JSTemporalDuration::Abs ( Isolate * isolate,
DirectHandle< JSTemporalDuration > duration )
static

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

Here is the call graph for this function:

◆ Add()

MaybeDirectHandle< JSTemporalDuration > v8::internal::JSTemporalDuration::Add ( Isolate * isolate,
DirectHandle< JSTemporalDuration > duration,
DirectHandle< Object > other,
DirectHandle< Object > options )
static

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

◆ Blank()

MaybeDirectHandle< Oddball > v8::internal::JSTemporalDuration::Blank ( Isolate * isolate,
DirectHandle< JSTemporalDuration > duration )
static

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

Here is the call graph for this function:

◆ Compare()

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

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

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

◆ Constructor()

MaybeDirectHandle< JSTemporalDuration > v8::internal::JSTemporalDuration::Constructor ( Isolate * isolate,
DirectHandle< JSFunction > target,
DirectHandle< HeapObject > new_target,
DirectHandle< Object > years,
DirectHandle< Object > months,
DirectHandle< Object > weeks,
DirectHandle< Object > days,
DirectHandle< Object > hours,
DirectHandle< Object > minutes,
DirectHandle< Object > seconds,
DirectHandle< Object > milliseconds,
DirectHandle< Object > microseconds,
DirectHandle< Object > nanoseconds )
static

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

Here is the caller graph for this function:

◆ From()

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

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

Here is the call graph for this function:

◆ Negated()

MaybeDirectHandle< JSTemporalDuration > v8::internal::JSTemporalDuration::Negated ( Isolate * isolate,
DirectHandle< JSTemporalDuration > duration )
static

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

Here is the call graph for this function:

◆ Round()

MaybeDirectHandle< JSTemporalDuration > v8::internal::JSTemporalDuration::Round ( Isolate * isolate,
DirectHandle< JSTemporalDuration > duration,
DirectHandle< Object > round_to_obj )
static

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

Here is the call graph for this function:

◆ Sign()

MaybeDirectHandle< Smi > v8::internal::JSTemporalDuration::Sign ( Isolate * isolate,
DirectHandle< JSTemporalDuration > duration )
static

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

Here is the call graph for this function:

◆ Subtract()

MaybeDirectHandle< JSTemporalDuration > v8::internal::JSTemporalDuration::Subtract ( Isolate * isolate,
DirectHandle< JSTemporalDuration > duration,
DirectHandle< Object > other,
DirectHandle< Object > options )
static

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

◆ ToJSON()

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

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

Here is the call graph for this function:

◆ ToLocaleString()

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

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

Here is the call graph for this function:

◆ ToString()

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

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

Here is the call graph for this function:

◆ Total()

MaybeDirectHandle< Object > v8::internal::JSTemporalDuration::Total ( Isolate * isolate,
DirectHandle< JSTemporalDuration > duration,
DirectHandle< Object > total_of )
static

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

Here is the call graph for this function:

◆ With()

MaybeDirectHandle< JSTemporalDuration > v8::internal::JSTemporalDuration::With ( Isolate * isolate,
DirectHandle< JSTemporalDuration > duration,
DirectHandle< Object > temporal_duration_like )
static

Definition at line 7915 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: