aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/checkDate-denormal-March.qml
blob: 7fc8bf43bdb784c0a5d6c02111a83fa7f37536c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
import Qt.test 1.0
import QtQuick 2.0

MyTypeObject {
    Component.onCompleted: {
        dateProperty = new Date(2019, 1, 29) // March 1st
        boolProperty = (dateProperty.getFullYear() == 2019
                        && dateProperty.getMonth() == 2
                        && dateProperty.getDate() == 1)
    }
}