- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes calendar systems
Java wrapper for Qt's class QCalendar
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QCalendar::Systemstatic class
Java wrapper for Qt class QCalendar::YearMonthDayNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class.static final int
-
Constructor Summary
ModifierConstructorDescriptionQCalendar
(QCalendar.System system) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionstatic QStringList
clone()
final QDate
dateFromParts
(int year, int month, int day) final QDate
final String
final int
final int
daysInMonth
(int month) Overloaded function fordaysInMonth(int, int)
withyear = Unspecified
.final int
daysInMonth
(int month, int year) final int
daysInYear
(int year) 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.int
hashCode()
final boolean
final boolean
isDateValid
(int year, int month, int day) final boolean
final boolean
isLeapYear
(int year) final boolean
isLunar()
final boolean
final boolean
final boolean
isSolar()
final boolean
isValid()
final int
final int
final int
final String
Overloaded function formonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
final String
Overloaded function formonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
monthName
(QLocale locale, int month, int year, QLocale.FormatType format) final int
monthsInYear
(int year) final String
name()
final QCalendar.YearMonthDay
partsFromDate
(QDate date) final String
standaloneMonthName
(QLocale locale, int month) Overloaded function forstandaloneMonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
final String
standaloneMonthName
(QLocale locale, int month, int year) Overloaded function forstandaloneMonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
standaloneMonthName
(QLocale locale, int month, int year, QLocale.FormatType format) final String
standaloneWeekDayName
(QLocale locale, int day) Overloaded function forstandaloneWeekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
standaloneWeekDayName
(QLocale locale, int day, QLocale.FormatType format) final String
weekDayName
(QLocale locale, int day) Overloaded function forweekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
weekDayName
(QLocale locale, int day, QLocale.FormatType format) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class. -
Unspecified
public static final int Unspecified
-
-
Constructor Details
-
QCalendar
public QCalendar() -
QCalendar
-
QCalendar
-
QCalendar
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
dateFromParts
-
dateFromParts
-
dateTimeToString
-
dayOfWeek
-
daysInMonth
Overloaded function for
daysInMonth(int, int)
withyear = Unspecified
. -
daysInMonth
-
daysInYear
-
hasYearZero
-
isDateValid
-
isGregorian
-
isLeapYear
-
isLunar
-
isLuniSolar
-
isProleptic
-
isSolar
-
isValid
-
maximumDaysInMonth
-
maximumMonthsInYear
-
minimumDaysInMonth
-
monthName
Overloaded function for
monthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
monthName
Overloaded function for
monthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
with:
year = Unspecified
format = io.qt.core.QLocale.FormatType.LongFormat
-
monthName
@QtUninvokable public final String monthName(QLocale locale, int month, int year, QLocale.FormatType format) -
monthsInYear
-
name
-
partsFromDate
-
standaloneMonthName
Overloaded function for
standaloneMonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
standaloneMonthName
Overloaded function for
standaloneMonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
with:
year = Unspecified
format = io.qt.core.QLocale.FormatType.LongFormat
-
standaloneMonthName
@QtUninvokable public final String standaloneMonthName(QLocale locale, int month, int year, QLocale.FormatType format) -
standaloneWeekDayName
Overloaded function for
standaloneWeekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
standaloneWeekDayName
@QtUninvokable public final String standaloneWeekDayName(QLocale locale, int day, QLocale.FormatType format) -
weekDayName
Overloaded function for
weekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
weekDayName
-
availableCalendars
-
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
-