Add unitest code for dateTimeDigitSet and decimalPlaces
This commit is contained in:
parent
37dd4360d2
commit
a02ae1eb52
@ -66,6 +66,8 @@ Item {
|
||||
//locale.currencySymbol = TODO
|
||||
//console.log("currencySymbol" + locale.currencySymbol)
|
||||
|
||||
//locale.dateTimeDigitSet = DigitSet.EasternArabicIndicDigits
|
||||
|
||||
locale.dateFormat = "Y"
|
||||
console.log("dateFormat:" + locale.dateFormat)
|
||||
|
||||
@ -75,6 +77,9 @@ Item {
|
||||
locale.dateMonthNamePossessive = false
|
||||
console.log("dateMonthNamePossessive:" + locale.dateMonthNamePossessive)
|
||||
|
||||
locale.decimalPlaces = 2
|
||||
console.log("decimalPlaces:" + locale.decimalPlaces)
|
||||
|
||||
console.log("===========end===========")
|
||||
}
|
||||
}
|
||||
@ -133,6 +138,16 @@ Item {
|
||||
console.log("the dateMonthNamePossessive property has been changed")
|
||||
}
|
||||
|
||||
dateTimeDigitSet: Digit.ArabicDigits
|
||||
onDateTimeDigitSet: {
|
||||
console.log("the dateTimeDigitSet property has been changed")
|
||||
}
|
||||
|
||||
decimalPlaces: 1
|
||||
onDecimalPlacesChanged: {
|
||||
console.log("the decimalPlaces property has been changed")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
CalendarSystem {
|
||||
|
Loading…
Reference in New Issue
Block a user