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

Classes

struct  DateRecord
 
struct  DateTimeRecord
 
struct  DurationRecord
 
struct  TimeDurationRecord
 
struct  TimeRecord
 

Functions

MaybeDirectHandle< JSTemporalPlainDateTimeCreateTemporalDateTime (Isolate *isolate, const DateTimeRecord &date_time, DirectHandle< JSReceiver > calendar)
 
MaybeDirectHandle< JSTemporalInstantCreateTemporalInstant (Isolate *isolate, DirectHandle< JSFunction > target, DirectHandle< HeapObject > new_target, DirectHandle< BigInt > epoch_nanoseconds)
 
MaybeDirectHandle< JSTemporalInstantCreateTemporalInstant (Isolate *isolate, DirectHandle< BigInt > epoch_nanoseconds)
 
MaybeDirectHandle< JSTemporalTimeZoneCreateTemporalTimeZone (Isolate *isolate, DirectHandle< String > identifier)
 
MaybeDirectHandle< JSTemporalPlainDateTimeBuiltinTimeZoneGetPlainDateTimeFor (Isolate *isolate, DirectHandle< JSReceiver > time_zone, DirectHandle< JSTemporalInstant > instant, DirectHandle< JSReceiver > calendar, const char *method_name)
 
MaybeDirectHandle< JSReceiverToTemporalCalendar (Isolate *isolate, DirectHandle< Object > temporal_calendar_like, const char *method_name)
 
Maybe< TimeRecordRegulateTime (Isolate *isolate, const TimeRecord &time, ShowOverflow overflow)
 
MaybeDirectHandle< JSTemporalPlainTimeToTemporalTime (Isolate *isolate, DirectHandle< Object > item_obj, const char *method_name, ShowOverflow overflow=ShowOverflow::kConstrain)
 
Maybe< boolIterateDurationRecordFieldsTable (Isolate *isolate, DirectHandle< JSReceiver > temporal_duration_like, Maybe< bool >(*RowFunction)(Isolate *, DirectHandle< JSReceiver > temporal_duration_like, DirectHandle< String >, double *), DurationRecord *record)
 
Maybe< DurationRecordToTemporalDurationRecord (Isolate *isolate, DirectHandle< Object > temporal_duration_like_obj, const char *method_name)
 
MaybeDirectHandle< JSTemporalDurationToTemporalDuration (Isolate *isolate, DirectHandle< Object > item, const char *method_name)
 
MaybeDirectHandle< JSReceiverToTemporalTimeZone (Isolate *isolate, DirectHandle< Object > temporal_time_zone_like, const char *method_name)
 
MaybeDirectHandle< ObjectInvokeCalendarMethod (Isolate *isolate, DirectHandle< JSReceiver > calendar, DirectHandle< String > name, DirectHandle< JSReceiver > date_like)
 
MaybeDirectHandle< ObjectCalendarMonthCode (Isolate *isolate, DirectHandle< JSReceiver > calendar, DirectHandle< JSReceiver > date_like)
 
DirectHandle< JSTemporalCalendarGetISO8601Calendar (Isolate *isolate)
 
bool IsValidDuration (Isolate *isolate, const DurationRecord &dur)
 
Maybe< DurationRecordToPartialDuration (Isolate *isolate, DirectHandle< Object > temporal_duration_like_obj, const DurationRecord &input)
 
MaybeDirectHandle< OddballIsInvalidTemporalCalendarField (Isolate *isolate, DirectHandle< String > next_value, DirectHandle< FixedArray > fields_name)
 
MaybeDirectHandle< JSTemporalCalendarGetBuiltinCalendar (Isolate *isolate, DirectHandle< String > id)
 
MaybeDirectHandle< JSTemporalInstantBuiltinTimeZoneGetInstantForCompatible (Isolate *isolate, DirectHandle< JSReceiver > time_zone, DirectHandle< JSTemporalPlainDateTime > date_time, const char *method_name)
 

Function Documentation

◆ BuiltinTimeZoneGetInstantForCompatible()

MaybeDirectHandle< JSTemporalInstant > v8::internal::temporal::BuiltinTimeZoneGetInstantForCompatible ( Isolate * isolate,
DirectHandle< JSReceiver > time_zone,
DirectHandle< JSTemporalPlainDateTime > date_time,
const char * method_name )

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

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

◆ BuiltinTimeZoneGetPlainDateTimeFor()

V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalPlainDateTime > v8::internal::temporal::BuiltinTimeZoneGetPlainDateTimeFor ( Isolate * isolate,
DirectHandle< JSReceiver > time_zone,
DirectHandle< JSTemporalInstant > instant,
DirectHandle< JSReceiver > calendar,
const char * method_name )

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

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

◆ CalendarMonthCode()

MaybeDirectHandle< Object > v8::internal::temporal::CalendarMonthCode ( Isolate * isolate,
DirectHandle< JSReceiver > calendar,
DirectHandle< JSReceiver > date_like )

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

Here is the call graph for this function:

◆ CreateTemporalDateTime()

V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalPlainDateTime > v8::internal::temporal::CreateTemporalDateTime ( Isolate * isolate,
const DateTimeRecord & date_time,
DirectHandle< JSReceiver > calendar )

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

Here is the caller graph for this function:

◆ CreateTemporalInstant() [1/2]

V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstant > v8::internal::temporal::CreateTemporalInstant ( Isolate * isolate,
DirectHandle< BigInt > epoch_nanoseconds )

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

Here is the call graph for this function:

◆ CreateTemporalInstant() [2/2]

V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalInstant > v8::internal::temporal::CreateTemporalInstant ( Isolate * isolate,
DirectHandle< JSFunction > target,
DirectHandle< HeapObject > new_target,
DirectHandle< BigInt > epoch_nanoseconds )

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

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

◆ CreateTemporalTimeZone()

MaybeDirectHandle< JSTemporalTimeZone > v8::internal::temporal::CreateTemporalTimeZone ( Isolate * isolate,
DirectHandle< String > identifier )

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

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

◆ GetBuiltinCalendar()

V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSTemporalCalendar > v8::internal::temporal::GetBuiltinCalendar ( Isolate * isolate,
DirectHandle< String > id )

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

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

◆ GetISO8601Calendar()

DirectHandle< JSTemporalCalendar > v8::internal::temporal::GetISO8601Calendar ( Isolate * isolate)

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

Here is the caller graph for this function:

◆ InvokeCalendarMethod()

V8_WARN_UNUSED_RESULT MaybeDirectHandle< Object > v8::internal::temporal::InvokeCalendarMethod ( Isolate * isolate,
DirectHandle< JSReceiver > calendar,
DirectHandle< String > name,
DirectHandle< JSReceiver > date_like )

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

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

◆ IsInvalidTemporalCalendarField()

V8_WARN_UNUSED_RESULT MaybeDirectHandle< Oddball > v8::internal::temporal::IsInvalidTemporalCalendarField ( Isolate * isolate,
DirectHandle< String > next_value,
DirectHandle< FixedArray > fields_name )

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

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

◆ IsValidDuration()

bool v8::internal::temporal::IsValidDuration ( Isolate * isolate,
const DurationRecord & dur )

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

◆ IterateDurationRecordFieldsTable()

Maybe< bool > v8::internal::temporal::IterateDurationRecordFieldsTable ( Isolate * isolate,
DirectHandle< JSReceiver > temporal_duration_like,
Maybe< bool >(* RowFunction )(Isolate *, DirectHandle< JSReceiver > temporal_duration_like, DirectHandle< String >, double *),
DurationRecord * record )

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

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

◆ RegulateTime()

Maybe< TimeRecord > v8::internal::temporal::RegulateTime ( Isolate * isolate,
const TimeRecord & time,
ShowOverflow overflow )

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

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

◆ ToPartialDuration()

Maybe< DurationRecord > v8::internal::temporal::ToPartialDuration ( Isolate * isolate,
DirectHandle< Object > temporal_duration_like_obj,
const DurationRecord & input )

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

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

◆ ToTemporalCalendar()

V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSReceiver > v8::internal::temporal::ToTemporalCalendar ( Isolate * isolate,
DirectHandle< Object > temporal_calendar_like,
const char * method_name )

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

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

◆ ToTemporalDuration()

MaybeDirectHandle< JSTemporalDuration > v8::internal::temporal::ToTemporalDuration ( Isolate * isolate,
DirectHandle< Object > item,
const char * method_name )

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

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

◆ ToTemporalDurationRecord()

Maybe< DurationRecord > v8::internal::temporal::ToTemporalDurationRecord ( Isolate * isolate,
DirectHandle< Object > temporal_duration_like_obj,
const char * method_name )

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

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

◆ ToTemporalTime()

MaybeDirectHandle< JSTemporalPlainTime > v8::internal::temporal::ToTemporalTime ( Isolate * isolate,
DirectHandle< Object > item_obj,
const char * method_name,
ShowOverflow overflow = ShowOverflow::kConstrain )

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

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

◆ ToTemporalTimeZone()

V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSReceiver > v8::internal::temporal::ToTemporalTimeZone ( Isolate * isolate,
DirectHandle< Object > temporal_time_zone_like,
const char * method_name )

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

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