Calendar QML Type
カレンダーの名前空間。詳細...
Import Statement: | import QtQuick.Controls |
詳細な説明
Calendar シングルトンは、カレンダー関連の雑多なユーティリティを提供します。
Qt Quick Calendar モジュールは、QML 言語で使われている JavaScript の Date 型と整合性をとるために、0 ベースの月番号を使用しています。つまり、Date::getMonth()
をそのままメソッドに渡すことができます。月番号を直接扱う場合は、混乱を避けるために以下の列挙値を使うことを強く推奨します。
定数 | 説明 |
---|---|
Calendar.January | 1月 (0) |
Calendar.February | 2月 (1) |
Calendar.March | 3月 (2) |
Calendar.April | 4月 (3) |
Calendar.May | 5月 (4) |
Calendar.June | 6月 (5) |
Calendar.July | 7月 (6) |
Calendar.August | 8月 (7) |
Calendar.September | 9月 (8) |
Calendar.October | 10月 (9) |
Calendar.November | 11月 (10) |
Calendar.December | 12月 (11) |
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.