Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/js/src/tests/non262/Intl/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 764 B image not shown  

Quelle  default-locale-shell.js   Sprache: JAVA

 
// |reftest| skip-if(!this.hasOwnProperty("Intl")||!xulRuntime.shell)

// js/src/tests/lib/tests.py sets the default locale to "en-US" for shell tests.
// Ensure it's correctly set in the runtime and for the Intl service constructors.
const defaultLocale = "en-US";

assertEq(getDefaultLocale(), defaultLocale);

assertEq(new Intl.Collator().resolvedOptions().locale, defaultLocale);
assertEq(new Intl.DateTimeFormat().resolvedOptions().locale, defaultLocale);
assertEq(new Intl.NumberFormat().resolvedOptions().locale, defaultLocale);
assertEq(new Intl.PluralRules().resolvedOptions().locale, defaultLocale);
assertEq(new Intl.RelativeTimeFormat().resolvedOptions().locale, defaultLocale);

if (typeof reportCompare === "function")
    reportCompare(truetrue);

Messung V0.5
C=89 H=94 G=91

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.