Intl.DateTimeFormat【国際化日時フォーマット】オブジェクト
メモ
- 国際化対応の日時フォーマット オブジェクト
コンストラクタ・メソッド
コンストラクタ | 説明 |
---|---|
new Intl.DateTimeFormat( [ locales [ , options ] ] ) | コンストラクタ |
メソッド | 説明 | |
---|---|---|
プロパティ参照 | format ( date ) | フォーマット |
Intl.DateTimeFormat.prototype. | formatRange ( startDate, endDate ) | 範囲フォーマット |
Intl.DateTimeFormat.prototype. | formatRangeToParts ( startDate, endDate ) | 範囲フォーマットパーツ取得 |
Intl.DateTimeFormat.prototype. | formatToParts ( date ) | フォーマットパーツ取得 |
Intl.DateTimeFormat.prototype. | resolvedOptions ( ) | オプション取得 |
Intl.DateTimeFormat. | supportedLocalesOf ( locales [, options ] ) | サポート ロケール取得 |
プロパティ
プロパティ | 説明 | |
---|---|---|
Intl.DateTimeFormat.prototype. | constructor | コンストラクタ定義 |
Intl.DateTimeFormat.prototype. | format | フォーマット関数 |
Intl.DateTimeFormat. | prototype | プロトタイプ |
関連
- Date.toLocaleString()【文字列変換 (ロケール)】
- Date.toLocaleDateString ()【ロケール日付文字列変換 (ローカル時刻)】
- Date.toLocaleTimeString ()【ロケール時刻文字列変換 (ローカル時刻)】
- 外部リンク (英語)
ECMA-402:DateTimeFormat Objects ES2022 Intl (9) ES2021 Intl (8) ES2020 Intl (7)