JavaScript DateTimeFormat 機能別 一覧 関数 要素 使い方・書き方 例 javascript サンプル
DateTimeFormatとは
JavaScriptトピック:Intl.DateTimeFormatオブジェクトは、言語に日付と時刻の書式設定を有効にするオブジェクトのコンストラクタ。
DateTimeFormat プロパティ
| 関数 ( Function・Properties ) | 説明 要約 |
|---|---|
Intl.DateTimeFormat.prototype 詳細 情報Intl.DateTimeFormat.prototype サンプル 書き方 コード | Intl.DateTimeFormat.prototypeとは、Intl.DateTimeFormatコンストラクタに対するプロトタイプオブジェクトを表する事ができる。 |
Intl.DateTimeFormat.prototype.format 詳細 情報Intl.DateTimeFormat.prototype.format サンプル 書き方 コード | Intl.DateTimeFormat.prototype.formatとは、ローケルに応じて、この DateTimeFormatオブジェクトのオプションをもった日付をフォーマットするゲッター関数を返す ことができる。 |
DateTimeFormat メソッド
| 関数 ( Function・Method ) | 説明 要約 |
|---|---|
DateTimeFormat.prototype.formatToParts() 詳細 情報DateTimeFormat.prototype.formatToParts() サンプル 書き方 コード | DateTimeFormat.prototype.formatToPartsとは、Intl.DateTimeFormat.prototype.formatToParts メソッドは、DateTimeFormat フォーマットによって生成されるロケール対応書式を設定可能にする事ができる。 |
Intl.DateTimeFormat.prototype.resolvedOptions() 詳細 情報Intl.DateTimeFormat.prototype.resolvedOptions() サンプル 書き方 コード | Intl.DateTimeFormat.prototype.resolvedOptionsとは、ローケルを反映しているプロパティと、この DateTimeFormatオブジェクトの初期化中に計算されたオプションをフォーマットしている日時をもった新しいオブジェクトを返す ことができる。 |
Intl.DateTimeFormat.supportedLocalesOf() 詳細 情報Intl.DateTimeFormat.supportedLocalesOf() サンプル 書き方 コード | Intl.DateTimeFormat.supportedLocalesOfとは、ランタイムのデフォルトローケルに戻る必要なしでフォーマットしている日時でサポートしている提供されているローケルを含んでいる配列を返す ことができる。 |
関数リファレンス | Intl.DateTimeFormat | JavaScript グローバルオブジェクト Global Objects 一覧
