aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlecmascript/data/checkDate-denormal-Feb.qml
blob: 29ec40ffbd0890b5fb57cef1c5e170c82a33973c (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, 2, 0) // Feb 28th
        boolProperty = (dateProperty.getFullYear() == 2019
                        && dateProperty.getMonth() == 1
                        && dateProperty.getDate() == 28)
    }
}