Intl API 比較ビューア MDN の Intl を入口に、主要 API をロケール別にすぐ試すための小さなツール。 NumberFormat DateTimeFormat RelativeTime ListFormat PluralRules Collator Segmenter DisplayNames Locale Supported values 比較対象ローケル 数値 style decimal currency percent unit notation standard compact scientific engineering currency JPY USD EUR GBP CNY INR unit kilometer meter liter celsius byte 最大小数桁 日時 dateStyle full long medium short なし timeStyle full long medium short なし timeZone Asia/Tokyo UTC America/New_York Europe/London Asia/Kolkata calendar 既定 gregory japanese buddhist islamic hebrew hourCycle 既定 h11 h12 h23 h24 値 unit second minute hour day week month quarter year numeric always auto style long short narrow リスト項目(改行区切り) Tokyo Paris Cairo São Paulo type conjunction disjunction unit style long short narrow 値 type cardinal ordinal 並べ替える文字列(改行区切り) ä z a å ö o 10 2 sensitivity base accent case variant numeric true false テキスト Intl.Segmenter は日本語の単語分割にも使えます。Hello world! granularity grapheme word sentence コード(改行区切り) JP US BR EG type region language script currency calendar dateTimeField style long short narrow 解析するロケールタグ(改行区切り) ja-JP-u-ca-japanese en-US de-DE-u-co-phonebk th-TH-u-nu-thai key calendar collation currency numberingSystem timeZone unit 絞り込み