- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Describes calendar systems
Java wrapper for Qt class QCalendar
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQCalendar::System
static class
Java wrapper for Qt classQCalendar::YearMonthDay
Nested 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic QStringList
clone()
Creates and returns a copy of this object.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
Seeoperator==(QCalendar,
QCalendar) int
hashCode()
Returns the objects's hash code computed byqHash(QCalendar)
.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
-
-
Method Details
-
dateFromParts
-
dateFromParts
-
dateTimeToString
-
dayOfWeek
-
daysInMonth
-
daysInYear
-
hasYearZero
-
isDateValid
-
isGregorian
-
isLeapYear
-
isLunar
-
isLuniSolar
-
isProleptic
-
isSolar
-
isValid
-
maximumDaysInMonth
-
maximumMonthsInYear
-
minimumDaysInMonth
-
monthName
@QtUninvokable public final String monthName(QLocale locale, int month, int year, QLocale.FormatType format) -
monthsInYear
-
name
-
partsFromDate
-
standaloneMonthName
@QtUninvokable public final String standaloneMonthName(QLocale locale, int month, int year, QLocale.FormatType format) -
standaloneWeekDayName
@QtUninvokable public final String standaloneWeekDayName(QLocale locale, int day, QLocale.FormatType format) -
weekDayName
-
availableCalendars
-
equals
See
operator==(QCalendar,
QCalendar) -
hashCode
Returns the objects's hash code computed byqHash(QCalendar)
. -
clone
Creates and returns a copy of this object.
-
daysInMonth
Overloaded function for
daysInMonth(int, int)
withyear = Unspecified
. -
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
-
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
-
standaloneWeekDayName
Overloaded function for
standaloneWeekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
weekDayName
Overloaded function for
weekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.
-