Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/jit-test/tests/resist-fingerprinting/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 627 B image not shown  

Quelle  locale.js

  Sprache: JAVA
 

// |jit-test| skip-if: typeof Intl === 'undefined'

function test(locale, timeZone) {
  let global = newGlobal({locale, forceUTC: true});

  const constructors = ["Collator""DateTimeFormat""ListFormat",
                        "NumberFormat""PluralRules""RelativeTimeFormat"];
  for (const constructor of constructors) {
    let intl = new global.Intl[constructor];
    assertEq(intl.resolvedOptions().locale, locale);
  }

  const date = new global.Date(2012010);
  let tzRE = /\(([^\)]+)\)/;
  assertEq(tzRE.exec(date)[1], timeZone)
}

test("de-CH""Mittlere Greenwich-Zeit");
test("en""Greenwich Mean Time");

Messung V0.5 in Prozent
C=87 H=99 G=93

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.