java.lang.Object
io.qt.QtObject
io.qt.core.QCalendar.YearMonthDay
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QCalendar
Java wrapper for Qt class QCalendar::YearMonthDay
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionYearMonthDay
(int y) Overloaded constructor forYearMonthDay(int, int, int)
YearMonthDay
(int y, int m) Overloaded constructor forYearMonthDay(int, int, int)
withd = 1
.YearMonthDay
(int y, int m, int d) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final int
day()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.final int
getDay()
Kotlin property getter.final int
getMonth()
Kotlin property getter.final int
getYear()
Kotlin property getter.int
hashCode()
final boolean
isValid()
final int
month()
final void
setDay
(int day) final void
setMonth
(int month) final void
setYear
(int year) final int
year()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
YearMonthDay
public YearMonthDay() -
YearMonthDay
public YearMonthDay(int y, int m) Overloaded constructor for
YearMonthDay(int, int, int)
withd = 1
. -
YearMonthDay
public YearMonthDay(int y) -
YearMonthDay
public YearMonthDay(int y, int m, int d) -
YearMonthDay
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isValid
-
setDay
-
getDay
Kotlin property getter. In Java use
day()
instead. -
day
-
setMonth
-
getMonth
Kotlin property getter. In Java use
month()
instead. -
month
-
setYear
-
getYear
Kotlin property getter. In Java use
year()
instead. -
year
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-