Lines Matching defs:locales

222 // ecma 402 16.4.1 Date.prototype.toLocaleString ( [ locales [ , options ] ] )
247 JSHandle<JSTaggedValue> locales = GetCallArg(argv, 0);
249 [[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUndefined();
252 auto simpleDateFormat = JSDateTimeFormat::GetCachedIcuSimpleDateFormat(thread, locales,
264 // Let dateFormat be ? Construct(%DateTimeFormat%, « locales, options »).
269 JSHandle<JSDateTimeFormat>::Cast(obj), locales, JSHandle<JSTaggedValue>::Cast(dateTimeOptions), type);
272 auto simpleDateFormat = JSDateTimeFormat::GetCachedIcuSimpleDateFormat(thread, locales,
290 locales, options, intl::GlobalFormatterType::DateFormatter, cacheable);
303 // ecma 402 16.4.1 Date.prototype.toLocaleString ( [ locales [ , options ] ] )
328 JSHandle<JSTaggedValue> locales = GetCallArg(argv, 0);
330 [[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUndefined();
333 auto simpleDateFormat = JSDateTimeFormat::GetCachedIcuSimpleDateFormat(thread, locales,
345 // Let dateFormat be ? Construct(%DateTimeFormat%, « locales, options »).
350 JSHandle<JSDateTimeFormat>::Cast(obj), locales, JSHandle<JSTaggedValue>::Cast(dateTimeOptions), type);
353 auto simpleDateFormat = JSDateTimeFormat::GetCachedIcuSimpleDateFormat(thread, locales,
371 locales, options, intl::GlobalFormatterType::SimpleDateFormatDate, cacheable);
384 // ecma 402 16.4.1 Date.prototype.toLocaleString ( [ locales [ , options ] ] )
409 JSHandle<JSTaggedValue> locales = GetCallArg(argv, 0);
411 [[maybe_unused]] bool cacheable = (locales->IsUndefined() || locales->IsString()) && options->IsUndefined();
414 auto simpleDateFormat = JSDateTimeFormat::GetCachedIcuSimpleDateFormat(thread, locales,
426 // Let dateFormat be ? Construct(%DateTimeFormat%, « locales, options »).
431 JSHandle<JSDateTimeFormat>::Cast(obj), locales, JSHandle<JSTaggedValue>::Cast(dateTimeOptions), type);
434 auto simpleDateFormat = JSDateTimeFormat::GetCachedIcuSimpleDateFormat(thread, locales,
452 locales, options, intl::GlobalFormatterType::SimpleDateFormatTime, cacheable);