Calendar QML Type

カレンダーの名前空間。詳細...

Import Statement: import QtQuick.Controls
Inherits:

QtObject

詳細な説明

Calendar シングルトンは、カレンダー関連の雑多なユーティリティを提供します。

Qt Quick Controlsのカレンダー関連の型は、JavaScript の Date オブジェクトのように、0 ベースの月番号を使用します。しかし、これはQDate とは異なり、月番号は 1 から始まります。

混乱を避けるために、以下の列挙値を使用することができます:

定数説明
Calendar.January1月 (0)
Calendar.February2月 (1)
Calendar.March3月 (2)
Calendar.April4月 (3)
Calendar.May5月 (4)
Calendar.June6月 (5)
Calendar.July7月 (6)
Calendar.August8月 (7)
Calendar.September9月 (8)
Calendar.October10月 (9)
Calendar.November11月 (10)
Calendar.December12月 (11)

MonthGridDayOfWeekRowWeekNumberColumnも参照

© 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.