Module qtjambi
Package io.qt.core

Class 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()
    • 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
    • YearMonthDay

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

      protected YearMonthDay(QtObject.QPrivateConstructor p)
      Constructor for internal use only.
      Parameters:
      p - expected to be null.
  • Method Details

    • isValid

      @QtUninvokable public final boolean isValid()
    • setDay

      @QtUninvokable public final void setDay(int day)
    • day

      @QtUninvokable public final int day()
    • setMonth

      @QtUninvokable public final void setMonth(int month)
    • month

      @QtUninvokable public final int month()
    • setYear

      @QtUninvokable public final void setYear(int year)
    • year

      @QtUninvokable public final int year()
    • equals

      @QtUninvokable public boolean equals(Object other)
      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.
      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()
      Overrides:
      hashCode in class Object
    • clone

      public QCalendar.YearMonthDay clone()
      Overrides:
      clone in class Object