[Edge]。→、
Intl.Locale の暦の種類を文字列で返します。
| Intl.Locale | Intl.Locale |
|---|
文字列。→Intl.DateTimeFormat():calendar
DA=new Intl.Locale('ja-JP'); //日本語の日本国。
D=DA.calendar; //=[undefined]:undefined
DA=new Intl.Locale('ja-JP-u-ca-japanese'); //日本語の日本国で歴指定。
D=DA.calendar; //=[string]:japanese
DA=new Intl.Locale('ja-JP', {calendar:'japanese'}); //日本語の日本国で歴指定。
D=DA.calendar; //=[string]:japanese