- 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 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 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
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
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)
.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
- Parameters:
name
-
-
QCalendar
See
QCalendar::
QCalendar(QCalendar) - Parameters:
other
-
-
QCalendar
- Parameters:
system
-
-
-
Method Details
-
dateFromParts
- Parameters:
parts
-- Returns:
-
dateFromParts
- Parameters:
year
-month
-day
-- Returns:
-
dateTimeToString
@QtUninvokable public final String dateTimeToString(String format, QDateTime datetime, QDate dateOnly, QTime timeOnly, QLocale locale) - Parameters:
format
-datetime
-dateOnly
-timeOnly
-locale
-- Returns:
-
dayOfWeek
- Parameters:
date
-- Returns:
-
daysInMonth
- Parameters:
month
-year
-- Returns:
-
daysInYear
- Parameters:
year
-- Returns:
-
hasYearZero
- Returns:
-
isDateValid
- Parameters:
year
-month
-day
-- Returns:
-
isGregorian
- Returns:
-
isLeapYear
- Parameters:
year
-- Returns:
-
isLunar
- Returns:
-
isLuniSolar
- Returns:
-
isProleptic
- Returns:
-
isSolar
- Returns:
-
isValid
- Returns:
-
maximumDaysInMonth
- Returns:
-
maximumMonthsInYear
- Returns:
-
minimumDaysInMonth
- Returns:
-
monthName
@QtUninvokable public final String monthName(QLocale locale, int month, int year, QLocale.FormatType format) - Parameters:
locale
-month
-year
-format
-- Returns:
-
monthsInYear
- Parameters:
year
-- Returns:
-
name
- Returns:
-
equals
See
operator==(QCalendar,
QCalendar) - Parameters:
value2
-- Returns:
-
partsFromDate
- Parameters:
date
-- Returns:
-
standaloneMonthName
@QtUninvokable public final String standaloneMonthName(QLocale locale, int month, int year, QLocale.FormatType format) - Parameters:
locale
-month
-year
-format
-- Returns:
-
standaloneWeekDayName
@QtUninvokable public final String standaloneWeekDayName(QLocale locale, int day, QLocale.FormatType format) - Parameters:
locale
-day
-format
-- Returns:
-
weekDayName
- Parameters:
locale
-day
-format
-- Returns:
-
availableCalendars
- Returns:
-
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
@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(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
@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(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(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)
.
-