- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QCalendar
Java wrapper for Qt class QCalendar::YearMonthDay
-
Constructor Summary
ConstructorDescriptionSeeQCalendar::YearMonthDay::
YearMonthDay() YearMonthDay
(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) SeeQCalendar::YearMonthDay::
YearMonthDay(int, int, int) SeeQCalendar::YearMonthDay::
YearMonthDay(QCalendar::YearMonthDay) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final int
day()
SeeQCalendar::YearMonthDay::
day final boolean
equals
(QCalendar.YearMonthDay value2) Seeoperator==(QCalendar::YearMonthDay,
QCalendar::YearMonthDay) boolean
Seeoperator==(QCalendar::YearMonthDay,
QCalendar::YearMonthDay) int
hashCode()
Returns the objects's hash code computed byqHash(QCalendar::YearMonthDay)
.final boolean
isValid()
SeeQCalendar::YearMonthDay::
isValid()const final int
month()
SeeQCalendar::YearMonthDay::
month final void
setDay
(int day) SeeQCalendar::YearMonthDay::
day final void
setMonth
(int month) SeeQCalendar::YearMonthDay::
month final void
setYear
(int year) SeeQCalendar::YearMonthDay::
year final int
year()
SeeQCalendar::YearMonthDay::
year Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
YearMonthDay
public YearMonthDay()See
QCalendar::YearMonthDay::
YearMonthDay() -
YearMonthDay
See
QCalendar::YearMonthDay::
YearMonthDay(QCalendar::YearMonthDay) - Parameters:
other
-
-
YearMonthDay
public YearMonthDay(int y, int m, int d) See
QCalendar::YearMonthDay::
YearMonthDay(int, int, int) - Parameters:
y
-m
-d
-
-
YearMonthDay
public YearMonthDay(int y, int m) Overloaded constructor for
YearMonthDay(int, int, int)
withd = 1
. -
YearMonthDay
public YearMonthDay(int y)
-
-
Method Details
-
isValid
See
QCalendar::YearMonthDay::
isValid()const - Returns:
-
equals
See
operator==(QCalendar::YearMonthDay,
QCalendar::YearMonthDay) - Parameters:
value2
-- Returns:
-
setDay
See
QCalendar::YearMonthDay::
day - Parameters:
day
-
-
day
See
QCalendar::YearMonthDay::
day - Returns:
-
setMonth
See
QCalendar::YearMonthDay::
month - Parameters:
month
-
-
month
See
QCalendar::YearMonthDay::
month - Returns:
-
setYear
See
QCalendar::YearMonthDay::
year - Parameters:
year
-
-
year
See
QCalendar::YearMonthDay::
year - Returns:
-
equals
See
operator==(QCalendar::YearMonthDay,
QCalendar::YearMonthDay) -
hashCode
Returns the objects's hash code computed byqHash(QCalendar::YearMonthDay)
. -
clone
Creates and returns a copy of this object.
See
QCalendar::YearMonthDay::
YearMonthDay(QCalendar::YearMonthDay)
-