Home
last modified time | relevance | path

Searched refs:RequiredOption (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_date_time_format_test.cpp214 thread, JSHandle<JSTaggedValue>::Cast(options), RequiredOption::ANY, DefaultsOption::ALL); in HWTEST_F_L0()
253 …thread, JSHandle<JSTaggedValue>::Cast(options), RequiredOption::ANY, DefaultsOption::ALL); // test… in HWTEST_F_L0()
304 …thread, JSHandle<JSTaggedValue>::Cast(options), RequiredOption::ANY, DefaultsOption::ALL); // test… in HWTEST_F_L0()
396 thread, JSHandle<JSTaggedValue>::Cast(options), RequiredOption::ANY, DefaultsOption::ALL); in HWTEST_F_L0()
443 thread, JSHandle<JSTaggedValue>::Cast(options), RequiredOption::ANY, DefaultsOption::ALL); in HWTEST_F_L0()
489 thread, JSHandle<JSTaggedValue>::Cast(options), RequiredOption::ANY, DefaultsOption::ALL); in HWTEST_F_L0()
600 thread, JSHandle<JSTaggedValue>::Cast(options), RequiredOption::ANY, DefaultsOption::ALL); in HWTEST_F_L0()
694 thread, JSHandle<JSTaggedValue>::Cast(options), RequiredOption::ANY, DefaultsOption::ALL); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Djs_date_time_format.h26 enum class RequiredOption : uint8_t { DATE = 0x01, TIME, ANY }; enum
137 … const RequiredOption &required, const DefaultsOption &defaults);
Djs_date_time_format.cpp209 …JSHandle<JSObject> dateTimeOptions = ToDateTimeOptions(thread, options, RequiredOption::ANY, Defau… in InitializeDateTimeFormat()
519 … const RequiredOption &required, const DefaultsOption &defaults) in ToDateTimeOptions()
543 if (required == RequiredOption::DATE || required == RequiredOption::ANY) { in ToDateTimeOptions()
566 if (required == RequiredOption::TIME || required == RequiredOption::ANY) { in ToDateTimeOptions()
601 if (required == RequiredOption::DATE && !timeStyle->IsUndefined()) { in ToDateTimeOptions()
604 if (required == RequiredOption::TIME && !dateStyle->IsUndefined()) { in ToDateTimeOptions()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_date.cpp282 … JSDateTimeFormat::ToDateTimeOptions(thread, options, RequiredOption::ANY, DefaultsOption::ALL); in ToLocaleString()
363 … JSDateTimeFormat::ToDateTimeOptions(thread, options, RequiredOption::DATE, DefaultsOption::DATE); in ToLocaleDateString()
444 … JSDateTimeFormat::ToDateTimeOptions(thread, options, RequiredOption::TIME, DefaultsOption::TIME); in ToLocaleTimeString()