[Edge]。→、
Intl.Locale の時刻書式名を文字列で返します。
Intl.Locale | Intl.Locale |
---|
時刻書式名を表す文字列。→Intl.DateTimeFormat():hourCycle
DA=new Intl.Locale('ja-JP'); //日本語の日本国。 D=DA.hourCycle; //=[undefined]:undefined DA=new Intl.Locale('ja-JP-u-hc-h11'); //日本語の日本国、時間制。 D=DA.hourCycle; //=[string]:h11 DA=new Intl.Locale('ja-JP', {hourCycle:'h11'}); //日本語の日本国、時間制。 D=DA.hourCycle; //=[string]:h11