[Edge]。→、
Intl.Locale での地域を表す文字列を配列で返します。
| Intl.Locale | Intl.Locale |
|---|
地域を示す文字列の配列。→DateTimeFormat():timeZone
→
DA=new Intl.Locale('ja-JP'); //日本語の日本国。
D=DA.timeZones; //=[object]:Asia/Tokyo
//0=[string]:Asia/Tokyo
DA=new Intl.Locale('ja'); //日本語。
D=DA.timeZones; //=[undefined]:undefined
DA=new Intl.Locale('ja', {timeZone:'UTC'}); //日本語、地域UTC。
D=DA.timeZones; //=[undefined]:undefined
DA=new Intl.Locale('ja', {timeZone:'Asia/Tokyo'}); //日本語、地域東京。
D=DA.timeZones; //=[undefined]:undefined
DA=new Intl.Locale('ja', {timeZone:'JST/JDT Japan'}); //日本語、地域日本。
D=DA.timeZones; //=[undefined]:undefined
DA=new Intl.Locale('ja', {timeZone:'Asia/Shanghai'}); //日本語、地域上海?。
D=DA.timeZones; //=[undefined]:undefined
DA=new Intl.Locale('zh', {timeZone:'Asia/Shanghai'}); //中国語、地域上海?。
D=DA.timeZones; //=[undefined]:undefined