Intl.DateTimeFormat【国際化日時フォーマット】オブジェクト
メモ
概要
- 国際化対応の日時フォーマット オブジェクト
関連
外部リンク
- ECMA-402 (英語)
DateTimeFormat Objects ES2024 Intl (11) ES2023 Intl (10) ES2022 Intl (9)
コンストラクタ・メソッド
| コンストラクタ | 説明 |
|---|---|
| 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 | プロトタイプ |