Module qtjambi
Package io.qt.core

Class QCalendar.YearMonthDay

java.lang.Object
io.qt.QtObject
io.qt.core.QCalendar.YearMonthDay
All Implemented Interfaces:
QtObjectInterface, Cloneable
Enclosing class:
QCalendar

public static class QCalendar.YearMonthDay extends QtObject implements Cloneable

Java wrapper for Qt class QCalendar::YearMonthDay

  • Constructor Details

    • YearMonthDay

      public YearMonthDay()

      See QCalendar::YearMonthDay::YearMonthDay()

    • YearMonthDay

      public YearMonthDay(QCalendar.YearMonthDay other)

      See QCalendar::YearMonthDay::YearMonthDay(QCalendar::YearMonthDay)

    • YearMonthDay

      public YearMonthDay(int y, int m, int d)

      See QCalendar::YearMonthDay::YearMonthDay(int,int,int)

    • YearMonthDay

      public YearMonthDay(int y, int m)

      Overloaded constructor for YearMonthDay(int, int, int) with d = 1.

    • YearMonthDay

      public YearMonthDay(int y)

      Overloaded constructor for YearMonthDay(int, int, int)

      with:

      • m = 1
      • d = 1
  • Method Details

    • isValid

      @QtUninvokable public final boolean isValid()

      See QCalendar::YearMonthDay::isValid()const

    • equals

      @QtUninvokable public final boolean equals(QCalendar.YearMonthDay value2)

      See operator==(QCalendar::YearMonthDay,QCalendar::YearMonthDay)

    • setDay

      @QtUninvokable public final void setDay(int day)

      See QCalendar::YearMonthDay::day

    • day

      @QtUninvokable public final int day()

      See QCalendar::YearMonthDay::day

    • setMonth

      @QtUninvokable public final void setMonth(int month)

      See QCalendar::YearMonthDay::month

    • month

      @QtUninvokable public final int month()

      See QCalendar::YearMonthDay::month

    • setYear

      @QtUninvokable public final void setYear(int year)

      See QCalendar::YearMonthDay::year

    • year

      @QtUninvokable public final int year()

      See QCalendar::YearMonthDay::year

    • equals

      @QtUninvokable public boolean equals(Object other)

      See operator==(QCalendar::YearMonthDay,QCalendar::YearMonthDay)

      Overrides:
      equals in class QtObject
      Parameters:
      other - other object
      Returns:
      true if the native counterpart of the two objects are one and the same.
    • hashCode

      @QtUninvokable public int hashCode()
      Returns the objects's hash code computed by qHash(QCalendar::YearMonthDay).
      Overrides:
      hashCode in class Object
    • clone

      Creates and returns a copy of this object.

      See QCalendar::YearMonthDay::YearMonthDay(QCalendar::YearMonthDay)

      Overrides:
      clone in class Object