- 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
-
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 String
dateTimeToString
(String format, QDateTime datetime, QDate dateOnly, QTime timeOnly, QLocale.Language locale) 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) final boolean
Seeoperator==(QCalendar,
QCalendar) 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 String
monthName
(QLocale.Language locale, int month) Overloaded function formonthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)
final String
monthName
(QLocale.Language locale, int month, int year) Overloaded function formonthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
monthName
(QLocale.Language locale, int month, int year, QLocale.FormatType format) Overloaded function formonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
.final String
Overloaded function formonthName(java.lang.String, int, int, io.qt.core.QLocale.FormatType)
final String
Overloaded function formonthName(java.lang.String, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
monthName
(String locale, int month, int year, QLocale.FormatType format) Overloaded function formonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
.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
standaloneMonthName
(QLocale.Language locale, int month) Overloaded function forstandaloneMonthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)
final String
standaloneMonthName
(QLocale.Language locale, int month, int year) Overloaded function forstandaloneMonthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
standaloneMonthName
(QLocale.Language locale, int month, int year, QLocale.FormatType format) Overloaded function forstandaloneMonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
.final String
standaloneMonthName
(String locale, int month) Overloaded function forstandaloneMonthName(java.lang.String, int, int, io.qt.core.QLocale.FormatType)
final String
standaloneMonthName
(String locale, int month, int year) Overloaded function forstandaloneMonthName(java.lang.String, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
standaloneMonthName
(String locale, int month, int year, QLocale.FormatType format) Overloaded function forstandaloneMonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
.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
standaloneWeekDayName
(QLocale.Language locale, int day) Overloaded function forstandaloneWeekDayName(io.qt.core.QLocale.Language, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
standaloneWeekDayName
(QLocale.Language locale, int day, QLocale.FormatType format) Overloaded function forstandaloneWeekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
.final String
standaloneWeekDayName
(String locale, int day) Overloaded function forstandaloneWeekDayName(java.lang.String, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
standaloneWeekDayName
(String locale, int day, QLocale.FormatType format) Overloaded function forstandaloneWeekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
.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) final String
weekDayName
(QLocale.Language locale, int day) Overloaded function forweekDayName(io.qt.core.QLocale.Language, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
weekDayName
(QLocale.Language locale, int day, QLocale.FormatType format) Overloaded function forweekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
.final String
weekDayName
(String locale, int day) Overloaded function forweekDayName(java.lang.String, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
.final String
weekDayName
(String locale, int day, QLocale.FormatType format) Overloaded function forweekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
.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
See
QCalendar::
QCalendar(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
-
equals
See
operator==(QCalendar,
QCalendar) -
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.
See
QCalendar::
QCalendar(QCalendar) -
dateTimeToString
-
dateTimeToString
@QtUninvokable public final String dateTimeToString(String format, QDateTime datetime, QDate dateOnly, QTime timeOnly, QLocale.Language locale) -
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
-
monthName
Overloaded function for
monthName(java.lang.String, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
monthName
Overloaded function for
monthName(java.lang.String, int, int, io.qt.core.QLocale.FormatType)
with:
year = Unspecified
format = io.qt.core.QLocale.FormatType.LongFormat
-
monthName
@QtUninvokable public final String monthName(String locale, int month, int year, QLocale.FormatType format) Overloaded function for
monthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
. -
monthName
Overloaded function for
monthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
monthName
Overloaded function for
monthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)
with:
year = Unspecified
format = io.qt.core.QLocale.FormatType.LongFormat
-
monthName
@QtUninvokable public final String monthName(QLocale.Language locale, int month, int year, QLocale.FormatType format) Overloaded function for
monthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
. -
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
Overloaded function for
standaloneMonthName(java.lang.String, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
standaloneMonthName
Overloaded function for
standaloneMonthName(java.lang.String, int, int, io.qt.core.QLocale.FormatType)
with:
year = Unspecified
format = io.qt.core.QLocale.FormatType.LongFormat
-
standaloneMonthName
@QtUninvokable public final String standaloneMonthName(String locale, int month, int year, QLocale.FormatType format) Overloaded function for
standaloneMonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
. -
standaloneMonthName
@QtUninvokable public final String standaloneMonthName(QLocale.Language locale, int month, int year) Overloaded function for
standaloneMonthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
standaloneMonthName
Overloaded function for
standaloneMonthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)
with:
year = Unspecified
format = io.qt.core.QLocale.FormatType.LongFormat
-
standaloneMonthName
@QtUninvokable public final String standaloneMonthName(QLocale.Language locale, int month, int year, QLocale.FormatType format) Overloaded function for
standaloneMonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)
. -
standaloneWeekDayName
Overloaded function for
standaloneWeekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
standaloneWeekDayName
Overloaded function for
standaloneWeekDayName(java.lang.String, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
standaloneWeekDayName
@QtUninvokable public final String standaloneWeekDayName(String locale, int day, QLocale.FormatType format) Overloaded function for
standaloneWeekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
. -
standaloneWeekDayName
Overloaded function for
standaloneWeekDayName(io.qt.core.QLocale.Language, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
standaloneWeekDayName
@QtUninvokable public final String standaloneWeekDayName(QLocale.Language locale, int day, QLocale.FormatType format) Overloaded function for
standaloneWeekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
. -
weekDayName
Overloaded function for
weekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
weekDayName
Overloaded function for
weekDayName(java.lang.String, 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)
. -
weekDayName
Overloaded function for
weekDayName(io.qt.core.QLocale.Language, int, io.qt.core.QLocale.FormatType)
withformat = io.qt.core.QLocale.FormatType.LongFormat
. -
weekDayName
@QtUninvokable public final String weekDayName(QLocale.Language locale, int day, QLocale.FormatType format) Overloaded function for
weekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)
.
-