Intl.Locale.prototype.weekInfo
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Intl.Locale.prototype.weekInfo
プロパティはアクセサープロパティで、関連する Locale
の firstDay
, weekend
, minimalDays
プロパティを持つ weekInfo
オブジェクトを返します。
解説
UTS 35's Week Elements で指定されたロケールデータに関連する Locale
情報を返します。
例
週情報の取得
指定された Locale
の週情報を返します。
仕様書
Specification |
---|
Intl Locale Info Proposal # sec-Intl.Locale.prototype.getWeekInfo |