All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QCalendar Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Describes calendar systems

*

Java wrapper for Qt class QCalendar

*/ public class QCalendar extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QCalendar.class); /** *

Java wrapper for Qt enum QCalendar::System

*/ @QtRejectedEntries({"Last"}) public enum System implements QtEnumerator { /** *

Representing QCalendar::System::Gregorian

*/ Gregorian(0), /** *

Representing QCalendar::System::Julian

*/ Julian(8), /** *

Representing QCalendar::System::Milankovic

*/ Milankovic(9), /** *

Representing QCalendar::System::Jalali

*/ Jalali(10), /** *

Representing QCalendar::System::IslamicCivil

*/ IslamicCivil(11), /** *

Representing QCalendar::System::Last

*/ Last(11), /** *

Representing QCalendar::System::User

*/ User(-1); static { QtJambi_LibraryUtilities.initialize(); } private System(int value) { this.value = value; } /** * {@inheritDoc} */ public int value() { return value; } /** * Returns the corresponding enum entry for the given value. * @param value * @return enum entry */ public static @NonNull System resolve(int value) { switch (value) { case 0: return Gregorian; case 8: return Julian; case 9: return Milankovic; case 10: return Jalali; case 11: return IslamicCivil; case -1: return User; default: throw new QNoSuchEnumValueException(value); } } private final int value; } /** *

Java wrapper for Qt class QCalendar::YearMonthDay

*/ public static class YearMonthDay extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QCalendar::YearMonthDay::YearMonthDay()

*/ public YearMonthDay(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(YearMonthDay instance); /** *

See QCalendar::YearMonthDay::YearMonthDay(QCalendar::YearMonthDay)

*/ public YearMonthDay(io.qt.core.QCalendar.@NonNull YearMonthDay other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(YearMonthDay instance, io.qt.core.QCalendar.YearMonthDay other); /** *

See QCalendar::YearMonthDay::YearMonthDay(int,int,int)

*/ public YearMonthDay(int y, int m, int d){ super((QPrivateConstructor)null); initialize_native(this, y, m, d); } private native static void initialize_native(YearMonthDay instance, int y, int m, int d); /** *

See QCalendar::YearMonthDay::isValid()const

*/ @QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See operator==(QCalendar::YearMonthDay,QCalendar::YearMonthDay)

*/ @QtUninvokable public final boolean equals(io.qt.core.QCalendar.@NonNull YearMonthDay value2){ return equals_native_cref_QCalendar_YearMonthDay(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value2)); } @QtUninvokable private native boolean equals_native_cref_QCalendar_YearMonthDay(long __this__nativeId, long value2); /** *

See QCalendar::YearMonthDay::day

*/ @QtUninvokable public final void setDay(int day){ setDay_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), day); } @QtUninvokable private native void setDay_native_int(long __this__nativeId, int day); /** *

See QCalendar::YearMonthDay::day

*/ @QtUninvokable public final int day(){ return day_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int day_native(long __this__nativeId); /** *

See QCalendar::YearMonthDay::month

*/ @QtUninvokable public final void setMonth(int month){ setMonth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), month); } @QtUninvokable private native void setMonth_native_int(long __this__nativeId, int month); /** *

See QCalendar::YearMonthDay::month

*/ @QtUninvokable public final int month(){ return month_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int month_native(long __this__nativeId); /** *

See QCalendar::YearMonthDay::year

*/ @QtUninvokable public final void setYear(int year){ setYear_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), year); } @QtUninvokable private native void setYear_native_int(long __this__nativeId, int year); /** *

See QCalendar::YearMonthDay::year

*/ @QtUninvokable public final int year(){ return year_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int year_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected YearMonthDay(QPrivateConstructor p) { super(p); } /** *

See operator==(QCalendar::YearMonthDay,QCalendar::YearMonthDay)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.core.QCalendar.YearMonthDay) { return equals((io.qt.core.QCalendar.YearMonthDay) other); } return false; } /** * Returns the objects's hash code computed by qHash(QCalendar::YearMonthDay). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QCalendar::YearMonthDay::YearMonthDay(QCalendar::YearMonthDay)

*/ @QtUninvokable @Override public YearMonthDay clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native YearMonthDay clone_native(long __this_nativeId); /** *

Overloaded constructor for {@link #YearMonthDay(int, int, int)} * with d = 1.

*/ public YearMonthDay(int y, int m) { this(y, m, (int)1); } /** *

Overloaded constructor for {@link #YearMonthDay(int, int, int)}

*

with:

    *
  • m = 1
  • *
  • d = 1
  • *
*/ public YearMonthDay(int y) { this(y, (int)1, (int)1); } /** * @hidden *

Kotlin property getter. In Java use {@link #day()} instead.

*/ @QtUninvokable public final int getDay() { return day(); } /** * @hidden *

Kotlin property getter. In Java use {@link #month()} instead.

*/ @QtUninvokable public final int getMonth() { return month(); } /** * @hidden *

Kotlin property getter. In Java use {@link #year()} instead.

*/ @QtUninvokable public final int getYear() { return year(); } } /** *

See QCalendar::QCalendar()

*/ public QCalendar(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QCalendar instance); /** *

See QCalendar::QCalendar(QAnyStringView)

*/ public QCalendar(java.lang.@NonNull String name){ super((QPrivateConstructor)null); initialize_native(this, name); } private native static void initialize_native(QCalendar instance, java.lang.String name); /** *

See QCalendar::QCalendar(QCalendar)

*/ public QCalendar(io.qt.core.@NonNull QCalendar other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QCalendar instance, io.qt.core.QCalendar other); /** *

See QCalendar::QCalendar(QCalendar::System)

*/ public QCalendar(io.qt.core.QCalendar.@NonNull System system){ super((QPrivateConstructor)null); initialize_native(this, system); } private native static void initialize_native(QCalendar instance, io.qt.core.QCalendar.System system); /** *

See QCalendar::dateFromParts(QCalendar::YearMonthDay)const

*/ @QtUninvokable public final io.qt.core.@NonNull QDate dateFromParts(io.qt.core.QCalendar.@NonNull YearMonthDay parts){ return dateFromParts_native_cref_QCalendar_YearMonthDay_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(parts)); } @QtUninvokable private native io.qt.core.QDate dateFromParts_native_cref_QCalendar_YearMonthDay_constfct(long __this__nativeId, long parts); /** *

See QCalendar::dateFromParts(int,int,int)const

*/ @QtUninvokable public final io.qt.core.@NonNull QDate dateFromParts(int year, int month, int day){ return dateFromParts_native_int_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), year, month, day); } @QtUninvokable private native io.qt.core.QDate dateFromParts_native_int_int_int_constfct(long __this__nativeId, int year, int month, int day); /** *

See QCalendar::dateTimeToString(QStringView,QDateTime,QDate,QTime,QLocale)const

*/ @QtUninvokable public final java.lang.@NonNull String dateTimeToString(java.lang.@NonNull String format, io.qt.core.@NonNull QDateTime datetime, io.qt.core.@NonNull QDate dateOnly, io.qt.core.@NonNull QTime timeOnly, io.qt.core.@NonNull QLocale locale){ return dateTimeToString_native_QStringView_cref_QDateTime_QDate_QTime_cref_QLocale_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), format, QtJambi_LibraryUtilities.internal.checkedNativeId(datetime), QtJambi_LibraryUtilities.internal.checkedNativeId(dateOnly), QtJambi_LibraryUtilities.internal.checkedNativeId(timeOnly), QtJambi_LibraryUtilities.internal.checkedNativeId(locale)); } @QtUninvokable private native java.lang.String dateTimeToString_native_QStringView_cref_QDateTime_QDate_QTime_cref_QLocale_constfct(long __this__nativeId, java.lang.String format, long datetime, long dateOnly, long timeOnly, long locale); /** *

See QCalendar::dayOfWeek(QDate)const

*/ @QtUninvokable public final int dayOfWeek(io.qt.core.@NonNull QDate date){ return dayOfWeek_native_QDate_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date)); } @QtUninvokable private native int dayOfWeek_native_QDate_constfct(long __this__nativeId, long date); /** *

See QCalendar::daysInMonth(int,int)const

*/ @QtUninvokable public final int daysInMonth(int month, int year){ return daysInMonth_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), month, year); } @QtUninvokable private native int daysInMonth_native_int_int_constfct(long __this__nativeId, int month, int year); /** *

See QCalendar::daysInYear(int)const

*/ @QtUninvokable public final int daysInYear(int year){ return daysInYear_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), year); } @QtUninvokable private native int daysInYear_native_int_constfct(long __this__nativeId, int year); /** *

See QCalendar::hasYearZero()const

*/ @QtUninvokable public final boolean hasYearZero(){ return hasYearZero_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasYearZero_native_constfct(long __this__nativeId); /** *

See QCalendar::isDateValid(int,int,int)const

*/ @QtUninvokable public final boolean isDateValid(int year, int month, int day){ return isDateValid_native_int_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), year, month, day); } @QtUninvokable private native boolean isDateValid_native_int_int_int_constfct(long __this__nativeId, int year, int month, int day); /** *

See QCalendar::isGregorian()const

*/ @QtUninvokable public final boolean isGregorian(){ return isGregorian_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isGregorian_native_constfct(long __this__nativeId); /** *

See QCalendar::isLeapYear(int)const

*/ @QtUninvokable public final boolean isLeapYear(int year){ return isLeapYear_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), year); } @QtUninvokable private native boolean isLeapYear_native_int_constfct(long __this__nativeId, int year); /** *

See QCalendar::isLunar()const

*/ @QtUninvokable public final boolean isLunar(){ return isLunar_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isLunar_native_constfct(long __this__nativeId); /** *

See QCalendar::isLuniSolar()const

*/ @QtUninvokable public final boolean isLuniSolar(){ return isLuniSolar_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isLuniSolar_native_constfct(long __this__nativeId); /** *

See QCalendar::isProleptic()const

*/ @QtUninvokable public final boolean isProleptic(){ return isProleptic_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isProleptic_native_constfct(long __this__nativeId); /** *

See QCalendar::isSolar()const

*/ @QtUninvokable public final boolean isSolar(){ return isSolar_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isSolar_native_constfct(long __this__nativeId); /** *

See QCalendar::isValid()const

*/ @QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See QCalendar::maximumDaysInMonth()const

*/ @QtUninvokable public final int maximumDaysInMonth(){ return maximumDaysInMonth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int maximumDaysInMonth_native_constfct(long __this__nativeId); /** *

See QCalendar::maximumMonthsInYear()const

*/ @QtUninvokable public final int maximumMonthsInYear(){ return maximumMonthsInYear_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int maximumMonthsInYear_native_constfct(long __this__nativeId); /** *

See QCalendar::minimumDaysInMonth()const

*/ @QtUninvokable public final int minimumDaysInMonth(){ return minimumDaysInMonth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int minimumDaysInMonth_native_constfct(long __this__nativeId); /** *

See QCalendar::monthName(QLocale,int,int,QLocale::FormatType)const

*/ @QtUninvokable public final java.lang.@NonNull String monthName(io.qt.core.@NonNull QLocale locale, int month, int year, io.qt.core.QLocale.@NonNull FormatType format){ return monthName_native_cref_QLocale_int_int_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(locale), month, year, format.value()); } @QtUninvokable private native java.lang.String monthName_native_cref_QLocale_int_int_QLocale_FormatType_constfct(long __this__nativeId, long locale, int month, int year, int format); /** *

See QCalendar::monthsInYear(int)const

*/ @QtUninvokable public final int monthsInYear(int year){ return monthsInYear_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), year); } @QtUninvokable private native int monthsInYear_native_int_constfct(long __this__nativeId, int year); /** *

See QCalendar::name()const

*/ @QtUninvokable public final java.lang.@NonNull String name(){ return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native java.lang.String name_native_constfct(long __this__nativeId); /** *

See operator==(QCalendar,QCalendar)

*/ @QtUninvokable public final boolean equals(io.qt.core.@NonNull QCalendar value2){ return equals_native_cref_QCalendar(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(value2)); } @QtUninvokable private native boolean equals_native_cref_QCalendar(long __this__nativeId, long value2); /** *

See QCalendar::partsFromDate(QDate)const

*/ @QtUninvokable public final io.qt.core.QCalendar.@NonNull YearMonthDay partsFromDate(io.qt.core.@NonNull QDate date){ return partsFromDate_native_QDate_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date)); } @QtUninvokable private native io.qt.core.QCalendar.YearMonthDay partsFromDate_native_QDate_constfct(long __this__nativeId, long date); /** *

See QCalendar::standaloneMonthName(QLocale,int,int,QLocale::FormatType)const

*/ @QtUninvokable public final java.lang.@NonNull String standaloneMonthName(io.qt.core.@NonNull QLocale locale, int month, int year, io.qt.core.QLocale.@NonNull FormatType format){ return standaloneMonthName_native_cref_QLocale_int_int_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(locale), month, year, format.value()); } @QtUninvokable private native java.lang.String standaloneMonthName_native_cref_QLocale_int_int_QLocale_FormatType_constfct(long __this__nativeId, long locale, int month, int year, int format); /** *

See QCalendar::standaloneWeekDayName(QLocale,int,QLocale::FormatType)const

*/ @QtUninvokable public final java.lang.@NonNull String standaloneWeekDayName(io.qt.core.@NonNull QLocale locale, int day, io.qt.core.QLocale.@NonNull FormatType format){ return standaloneWeekDayName_native_cref_QLocale_int_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(locale), day, format.value()); } @QtUninvokable private native java.lang.String standaloneWeekDayName_native_cref_QLocale_int_QLocale_FormatType_constfct(long __this__nativeId, long locale, int day, int format); /** *

See QCalendar::weekDayName(QLocale,int,QLocale::FormatType)const

*/ @QtUninvokable public final java.lang.@NonNull String weekDayName(io.qt.core.@NonNull QLocale locale, int day, io.qt.core.QLocale.@NonNull FormatType format){ return weekDayName_native_cref_QLocale_int_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(locale), day, format.value()); } @QtUninvokable private native java.lang.String weekDayName_native_cref_QLocale_int_QLocale_FormatType_constfct(long __this__nativeId, long locale, int day, int format); /** *

See QCalendar::availableCalendars()

*/ public native static io.qt.core.@NonNull QStringList availableCalendars(); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QCalendar(QPrivateConstructor p) { super(p); } /** *

See operator==(QCalendar,QCalendar)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.core.QCalendar) { return equals((io.qt.core.QCalendar) other); } return false; } /** * Returns the objects's hash code computed by qHash(QCalendar). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); public static final int Unspecified = unspecified(); private static native int unspecified(); /** *

Creates and returns a copy of this object.

See QCalendar::QCalendar(QCalendar)

*/ @QtUninvokable @Override public QCalendar clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QCalendar clone_native(long __this_nativeId); /** *

Overloaded function for {@link #dateTimeToString(java.lang.String, io.qt.core.QDateTime, io.qt.core.QDate, io.qt.core.QTime, io.qt.core.QLocale)}.

*/ @QtUninvokable public final java.lang.@NonNull String dateTimeToString(java.lang.@NonNull String format, io.qt.core.@NonNull QDateTime datetime, io.qt.core.@NonNull QDate dateOnly, io.qt.core.@NonNull QTime timeOnly, io.qt.core.QLocale.@NonNull Language locale) { return dateTimeToString(format, datetime, dateOnly, timeOnly, new io.qt.core.QLocale(locale)); } /** *

Overloaded function for {@link #daysInMonth(int, int)} * with year = Unspecified.

*/ @QtUninvokable public final int daysInMonth(int month) { return daysInMonth(month, (int)Unspecified); } /** *

Overloaded function for {@link #monthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)} * with format = io.qt.core.QLocale.FormatType.LongFormat.

*/ @QtUninvokable public final java.lang.@NonNull String monthName(io.qt.core.@NonNull QLocale locale, int month, int year) { return monthName(locale, month, year, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #monthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)}

*

with:

    *
  • year = Unspecified
  • *
  • format = io.qt.core.QLocale.FormatType.LongFormat
  • *
*/ @QtUninvokable public final java.lang.@NonNull String monthName(io.qt.core.@NonNull QLocale locale, int month) { return monthName(locale, month, (int)Unspecified, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #monthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)} * with format = io.qt.core.QLocale.FormatType.LongFormat.

*/ @QtUninvokable public final java.lang.@NonNull String monthName(io.qt.core.QLocale.@NonNull Language locale, int month, int year) { return monthName(locale, month, year, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #monthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)}

*

with:

    *
  • year = Unspecified
  • *
  • format = io.qt.core.QLocale.FormatType.LongFormat
  • *
*/ @QtUninvokable public final java.lang.@NonNull String monthName(io.qt.core.QLocale.@NonNull Language locale, int month) { return monthName(locale, month, (int)Unspecified, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #monthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)}.

*/ @QtUninvokable public final java.lang.@NonNull String monthName(io.qt.core.QLocale.@NonNull Language locale, int month, int year, io.qt.core.QLocale.@NonNull FormatType format) { return monthName(new io.qt.core.QLocale(locale), month, year, format); } /** *

Overloaded function for {@link #standaloneMonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)} * with format = io.qt.core.QLocale.FormatType.LongFormat.

*/ @QtUninvokable public final java.lang.@NonNull String standaloneMonthName(io.qt.core.@NonNull QLocale locale, int month, int year) { return standaloneMonthName(locale, month, year, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #standaloneMonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)}

*

with:

    *
  • year = Unspecified
  • *
  • format = io.qt.core.QLocale.FormatType.LongFormat
  • *
*/ @QtUninvokable public final java.lang.@NonNull String standaloneMonthName(io.qt.core.@NonNull QLocale locale, int month) { return standaloneMonthName(locale, month, (int)Unspecified, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #standaloneMonthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)} * with format = io.qt.core.QLocale.FormatType.LongFormat.

*/ @QtUninvokable public final java.lang.@NonNull String standaloneMonthName(io.qt.core.QLocale.@NonNull Language locale, int month, int year) { return standaloneMonthName(locale, month, year, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #standaloneMonthName(io.qt.core.QLocale.Language, int, int, io.qt.core.QLocale.FormatType)}

*

with:

    *
  • year = Unspecified
  • *
  • format = io.qt.core.QLocale.FormatType.LongFormat
  • *
*/ @QtUninvokable public final java.lang.@NonNull String standaloneMonthName(io.qt.core.QLocale.@NonNull Language locale, int month) { return standaloneMonthName(locale, month, (int)Unspecified, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #standaloneMonthName(io.qt.core.QLocale, int, int, io.qt.core.QLocale.FormatType)}.

*/ @QtUninvokable public final java.lang.@NonNull String standaloneMonthName(io.qt.core.QLocale.@NonNull Language locale, int month, int year, io.qt.core.QLocale.@NonNull FormatType format) { return standaloneMonthName(new io.qt.core.QLocale(locale), month, year, format); } /** *

Overloaded function for {@link #standaloneWeekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)} * with format = io.qt.core.QLocale.FormatType.LongFormat.

*/ @QtUninvokable public final java.lang.@NonNull String standaloneWeekDayName(io.qt.core.@NonNull QLocale locale, int day) { return standaloneWeekDayName(locale, day, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #standaloneWeekDayName(io.qt.core.QLocale.Language, int, io.qt.core.QLocale.FormatType)} * with format = io.qt.core.QLocale.FormatType.LongFormat.

*/ @QtUninvokable public final java.lang.@NonNull String standaloneWeekDayName(io.qt.core.QLocale.@NonNull Language locale, int day) { return standaloneWeekDayName(locale, day, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #standaloneWeekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)}.

*/ @QtUninvokable public final java.lang.@NonNull String standaloneWeekDayName(io.qt.core.QLocale.@NonNull Language locale, int day, io.qt.core.QLocale.@NonNull FormatType format) { return standaloneWeekDayName(new io.qt.core.QLocale(locale), day, format); } /** *

Overloaded function for {@link #weekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)} * with format = io.qt.core.QLocale.FormatType.LongFormat.

*/ @QtUninvokable public final java.lang.@NonNull String weekDayName(io.qt.core.@NonNull QLocale locale, int day) { return weekDayName(locale, day, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #weekDayName(io.qt.core.QLocale.Language, int, io.qt.core.QLocale.FormatType)} * with format = io.qt.core.QLocale.FormatType.LongFormat.

*/ @QtUninvokable public final java.lang.@NonNull String weekDayName(io.qt.core.QLocale.@NonNull Language locale, int day) { return weekDayName(locale, day, io.qt.core.QLocale.FormatType.LongFormat); } /** *

Overloaded function for {@link #weekDayName(io.qt.core.QLocale, int, io.qt.core.QLocale.FormatType)}.

*/ @QtUninvokable public final java.lang.@NonNull String weekDayName(io.qt.core.QLocale.@NonNull Language locale, int day, io.qt.core.QLocale.@NonNull FormatType format) { return weekDayName(new io.qt.core.QLocale(locale), day, format); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy