io.qt.core.QTimeZone Maven / Gradle / Ivy
package io.qt.core;
/**
* Converts between UTC and local time in a specific time zone
* Java wrapper for Qt class QTimeZone
*/
public class QTimeZone extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Java wrapper for Qt enum QTimeZone::NameType
*/
public enum NameType implements io.qt.QtEnumerator {
DefaultName(0),
LongName(1),
ShortName(2),
OffsetName(3);
private NameType(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 NameType resolve(int value) {
switch (value) {
case 0: return DefaultName;
case 1: return LongName;
case 2: return ShortName;
case 3: return OffsetName;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QTimeZone::TimeType
*/
public enum TimeType implements io.qt.QtEnumerator {
StandardTime(0),
DaylightTime(1),
GenericTime(2);
private TimeType(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 TimeType resolve(int value) {
switch (value) {
case 0: return StandardTime;
case 1: return DaylightTime;
case 2: return GenericTime;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt class QTimeZone::OffsetData
*/
public static class OffsetData extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
public OffsetData(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(OffsetData instance);
@io.qt.QtUninvokable
public final void setAbbreviation(java.lang.String abbreviation){
setAbbreviation_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), abbreviation);
}
@io.qt.QtUninvokable
private native void setAbbreviation_native_cref_QString(long __this__nativeId, java.lang.String abbreviation);
@io.qt.QtUninvokable
public final java.lang.String abbreviation(){
return abbreviation_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String abbreviation_native(long __this__nativeId);
@io.qt.QtUninvokable
public final void setAtUtc(io.qt.core.QDateTime atUtc){
setAtUtc_native_cref_QDateTime(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(atUtc));
}
@io.qt.QtUninvokable
private native void setAtUtc_native_cref_QDateTime(long __this__nativeId, long atUtc);
@io.qt.QtUninvokable
public final io.qt.core.QDateTime atUtc(){
return atUtc_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QDateTime atUtc_native(long __this__nativeId);
@io.qt.QtUninvokable
public final void setDaylightTimeOffset(int daylightTimeOffset){
setDaylightTimeOffset_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), daylightTimeOffset);
}
@io.qt.QtUninvokable
private native void setDaylightTimeOffset_native_int(long __this__nativeId, int daylightTimeOffset);
@io.qt.QtUninvokable
public final int daylightTimeOffset(){
return daylightTimeOffset_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int daylightTimeOffset_native(long __this__nativeId);
@io.qt.QtUninvokable
public final void setOffsetFromUtc(int offsetFromUtc){
setOffsetFromUtc_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), offsetFromUtc);
}
@io.qt.QtUninvokable
private native void setOffsetFromUtc_native_int(long __this__nativeId, int offsetFromUtc);
@io.qt.QtUninvokable
public final int offsetFromUtc(){
return offsetFromUtc_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int offsetFromUtc_native(long __this__nativeId);
@io.qt.QtUninvokable
public final void setStandardTimeOffset(int standardTimeOffset){
setStandardTimeOffset_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), standardTimeOffset);
}
@io.qt.QtUninvokable
private native void setStandardTimeOffset_native_int(long __this__nativeId, int standardTimeOffset);
@io.qt.QtUninvokable
public final int standardTimeOffset(){
return standardTimeOffset_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int standardTimeOffset_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected OffsetData(QPrivateConstructor p) { super(p); }
@Override
public OffsetData clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native OffsetData clone_native(long __this_nativeId);
}
/**
*
*/
public QTimeZone(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QTimeZone instance);
/**
* See QTimeZone::QTimeZone(QByteArray)
*/
public QTimeZone(io.qt.core.QByteArray ianaId){
super((QPrivateConstructor)null);
initialize_native(this, ianaId);
}
private native static void initialize_native(QTimeZone instance, io.qt.core.QByteArray ianaId);
/**
* Overloaded constructor for {@link #QTimeZone(io.qt.core.QByteArray, int, java.lang.String, java.lang.String, io.qt.core.QLocale.Country, java.lang.String)}
* with comment = ""
.
*/
public QTimeZone(io.qt.core.QByteArray zoneId, int offsetSeconds, java.lang.String name, java.lang.String abbreviation, io.qt.core.QLocale.Country territory) {
this(zoneId, offsetSeconds, name, abbreviation, territory, "");
}
/**
* Overloaded constructor for {@link #QTimeZone(io.qt.core.QByteArray, int, java.lang.String, java.lang.String, io.qt.core.QLocale.Country, java.lang.String)}
* with:
* territory = io.qt.core.QLocale.Country.AnyTerritory
* comment = ""
*
*/
public QTimeZone(io.qt.core.QByteArray zoneId, int offsetSeconds, java.lang.String name, java.lang.String abbreviation) {
this(zoneId, offsetSeconds, name, abbreviation, io.qt.core.QLocale.Country.AnyTerritory, "");
}
/**
* See QTimeZone::QTimeZone(QByteArray,int,QString,QString,QLocale::Territory,QString)
*/
public QTimeZone(io.qt.core.QByteArray zoneId, int offsetSeconds, java.lang.String name, java.lang.String abbreviation, io.qt.core.QLocale.Country territory, java.lang.String comment){
super((QPrivateConstructor)null);
initialize_native(this, zoneId, offsetSeconds, name, abbreviation, territory, comment);
}
private native static void initialize_native(QTimeZone instance, io.qt.core.QByteArray zoneId, int offsetSeconds, java.lang.String name, java.lang.String abbreviation, io.qt.core.QLocale.Country territory, java.lang.String comment);
/**
* See QTimeZone::QTimeZone(QTimeZone)
*/
public QTimeZone(io.qt.core.QTimeZone other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QTimeZone instance, io.qt.core.QTimeZone other);
/**
*
*/
public QTimeZone(int offsetSeconds){
super((QPrivateConstructor)null);
initialize_native(this, offsetSeconds);
}
private native static void initialize_native(QTimeZone instance, int offsetSeconds);
/**
* See QTimeZone::abbreviation(QDateTime)const
*/
@io.qt.QtUninvokable
public final java.lang.String abbreviation(io.qt.core.QDateTime atDateTime){
return abbreviation_native_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(atDateTime));
}
@io.qt.QtUninvokable
private native java.lang.String abbreviation_native_cref_QDateTime_constfct(long __this__nativeId, long atDateTime);
/**
*
*/
@io.qt.QtUninvokable
public final java.lang.String comment(){
return comment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String comment_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public final io.qt.core.QLocale.Country country(){
return io.qt.core.QLocale.Country.resolve(country_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native short country_native_constfct(long __this__nativeId);
/**
* See QTimeZone::daylightTimeOffset(QDateTime)const
*/
@io.qt.QtUninvokable
public final int daylightTimeOffset(io.qt.core.QDateTime atDateTime){
return daylightTimeOffset_native_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(atDateTime));
}
@io.qt.QtUninvokable
private native int daylightTimeOffset_native_cref_QDateTime_constfct(long __this__nativeId, long atDateTime);
/**
* Overloaded function for {@link #displayName(io.qt.core.QTimeZone.TimeType, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)}
* with locale = new io.qt.core.QLocale()
.
*/
@io.qt.QtUninvokable
public final java.lang.String displayName(io.qt.core.QTimeZone.TimeType timeType, io.qt.core.QTimeZone.NameType nameType) {
return displayName(timeType, nameType, new io.qt.core.QLocale());
}
/**
* Overloaded function for {@link #displayName(io.qt.core.QTimeZone.TimeType, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)}
* with:
* nameType = io.qt.core.QTimeZone.NameType.DefaultName
* locale = new io.qt.core.QLocale()
*
*/
@io.qt.QtUninvokable
public final java.lang.String displayName(io.qt.core.QTimeZone.TimeType timeType) {
return displayName(timeType, io.qt.core.QTimeZone.NameType.DefaultName, new io.qt.core.QLocale());
}
/**
* See QTimeZone::displayName(QTimeZone::TimeType,QTimeZone::NameType,QLocale)const
*/
@io.qt.QtUninvokable
public final java.lang.String displayName(io.qt.core.QTimeZone.TimeType timeType, io.qt.core.QTimeZone.NameType nameType, io.qt.core.QLocale locale){
return displayName_native_QTimeZone_TimeType_QTimeZone_NameType_cref_QLocale_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), timeType.value(), nameType.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(locale));
}
@io.qt.QtUninvokable
private native java.lang.String displayName_native_QTimeZone_TimeType_QTimeZone_NameType_cref_QLocale_constfct(long __this__nativeId, int timeType, int nameType, long locale);
/**
* Overloaded function for {@link #displayName(io.qt.core.QDateTime, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)}
* with locale = new io.qt.core.QLocale()
.
*/
@io.qt.QtUninvokable
public final java.lang.String displayName(io.qt.core.QDateTime atDateTime, io.qt.core.QTimeZone.NameType nameType) {
return displayName(atDateTime, nameType, new io.qt.core.QLocale());
}
/**
* Overloaded function for {@link #displayName(io.qt.core.QDateTime, io.qt.core.QTimeZone.NameType, io.qt.core.QLocale)}
* with:
* nameType = io.qt.core.QTimeZone.NameType.DefaultName
* locale = new io.qt.core.QLocale()
*
*/
@io.qt.QtUninvokable
public final java.lang.String displayName(io.qt.core.QDateTime atDateTime) {
return displayName(atDateTime, io.qt.core.QTimeZone.NameType.DefaultName, new io.qt.core.QLocale());
}
/**
* See QTimeZone::displayName(QDateTime,QTimeZone::NameType,QLocale)const
*/
@io.qt.QtUninvokable
public final java.lang.String displayName(io.qt.core.QDateTime atDateTime, io.qt.core.QTimeZone.NameType nameType, io.qt.core.QLocale locale){
return displayName_native_cref_QDateTime_QTimeZone_NameType_cref_QLocale_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(atDateTime), nameType.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(locale));
}
@io.qt.QtUninvokable
private native java.lang.String displayName_native_cref_QDateTime_QTimeZone_NameType_cref_QLocale_constfct(long __this__nativeId, long atDateTime, int nameType, long locale);
/**
* See QTimeZone::hasDaylightTime()const
*/
@io.qt.QtUninvokable
public final boolean hasDaylightTime(){
return hasDaylightTime_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasDaylightTime_native_constfct(long __this__nativeId);
/**
* See QTimeZone::hasTransitions()const
*/
@io.qt.QtUninvokable
public final boolean hasTransitions(){
return hasTransitions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean hasTransitions_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QByteArray id(){
return id_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QByteArray id_native_constfct(long __this__nativeId);
/**
* See QTimeZone::isDaylightTime(QDateTime)const
*/
@io.qt.QtUninvokable
public final boolean isDaylightTime(io.qt.core.QDateTime atDateTime){
return isDaylightTime_native_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(atDateTime));
}
@io.qt.QtUninvokable
private native boolean isDaylightTime_native_cref_QDateTime_constfct(long __this__nativeId, long atDateTime);
/**
*
*/
@io.qt.QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
* See QTimeZone::nextTransition(QDateTime)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QTimeZone.OffsetData nextTransition(io.qt.core.QDateTime afterDateTime){
return nextTransition_native_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(afterDateTime));
}
@io.qt.QtUninvokable
private native io.qt.core.QTimeZone.OffsetData nextTransition_native_cref_QDateTime_constfct(long __this__nativeId, long afterDateTime);
/**
* See QTimeZone::offsetData(QDateTime)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QTimeZone.OffsetData offsetData(io.qt.core.QDateTime forDateTime){
return offsetData_native_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(forDateTime));
}
@io.qt.QtUninvokable
private native io.qt.core.QTimeZone.OffsetData offsetData_native_cref_QDateTime_constfct(long __this__nativeId, long forDateTime);
/**
* See QTimeZone::offsetFromUtc(QDateTime)const
*/
@io.qt.QtUninvokable
public final int offsetFromUtc(io.qt.core.QDateTime atDateTime){
return offsetFromUtc_native_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(atDateTime));
}
@io.qt.QtUninvokable
private native int offsetFromUtc_native_cref_QDateTime_constfct(long __this__nativeId, long atDateTime);
@io.qt.QtUninvokable
public void writeTo(io.qt.core.QDataStream ds){
java.util.Objects.requireNonNull(ds, "Argument 'ds': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(ds));
}
@io.qt.QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long ds);
/**
* See QTimeZone::operator==(QTimeZone)const
*/
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.core.QTimeZone other){
return operator_equal_native_cref_QTimeZone_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QTimeZone_constfct(long __this__nativeId, long other);
@io.qt.QtUninvokable
public void readFrom(io.qt.core.QDataStream ds){
java.util.Objects.requireNonNull(ds, "Argument 'ds': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(ds));
}
@io.qt.QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long ds);
/**
* See QTimeZone::previousTransition(QDateTime)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QTimeZone.OffsetData previousTransition(io.qt.core.QDateTime beforeDateTime){
return previousTransition_native_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(beforeDateTime));
}
@io.qt.QtUninvokable
private native io.qt.core.QTimeZone.OffsetData previousTransition_native_cref_QDateTime_constfct(long __this__nativeId, long beforeDateTime);
/**
* See QTimeZone::standardTimeOffset(QDateTime)const
*/
@io.qt.QtUninvokable
public final int standardTimeOffset(io.qt.core.QDateTime atDateTime){
return standardTimeOffset_native_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(atDateTime));
}
@io.qt.QtUninvokable
private native int standardTimeOffset_native_cref_QDateTime_constfct(long __this__nativeId, long atDateTime);
/**
* See QTimeZone::swap(QTimeZone&)
*/
@io.qt.QtUninvokable
public final void swap(io.qt.core.QTimeZone other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QTimeZone(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void swap_native_ref_QTimeZone(long __this__nativeId, long other);
/**
* See QTimeZone::territory()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QLocale.Country territory(){
return io.qt.core.QLocale.Country.resolve(territory_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native short territory_native_constfct(long __this__nativeId);
/**
* See QTimeZone::transitions(QDateTime,QDateTime)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QList transitions(io.qt.core.QDateTime fromDateTime, io.qt.core.QDateTime toDateTime){
return transitions_native_cref_QDateTime_cref_QDateTime_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(fromDateTime), QtJambi_LibraryUtilities.internal.checkedNativeId(toDateTime));
}
@io.qt.QtUninvokable
private native io.qt.core.QList transitions_native_cref_QDateTime_cref_QDateTime_constfct(long __this__nativeId, long fromDateTime, long toDateTime);
/**
* See QTimeZone::availableTimeZoneIds()
*/
public native static io.qt.core.QList availableTimeZoneIds();
/**
* See QTimeZone::availableTimeZoneIds(QLocale::Territory)
*/
public static io.qt.core.QList availableTimeZoneIds(io.qt.core.QLocale.Country territory){
return availableTimeZoneIds_native_QLocale_Country(territory.value());
}
private native static io.qt.core.QList availableTimeZoneIds_native_QLocale_Country(short territory);
/**
* See QTimeZone::availableTimeZoneIds(int)
*/
public native static io.qt.core.QList availableTimeZoneIds(int offsetSeconds);
/**
* See QTimeZone::ianaIdToWindowsId(QByteArray)
*/
public static io.qt.core.QByteArray ianaIdToWindowsId(io.qt.core.QByteArray ianaId){
return ianaIdToWindowsId_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(ianaId));
}
private native static io.qt.core.QByteArray ianaIdToWindowsId_native_cref_QByteArray(long ianaId);
/**
* See QTimeZone::isTimeZoneIdAvailable(QByteArray)
*/
public static boolean isTimeZoneIdAvailable(io.qt.core.QByteArray ianaId){
return isTimeZoneIdAvailable_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(ianaId));
}
private native static boolean isTimeZoneIdAvailable_native_cref_QByteArray(long ianaId);
/**
* See QTimeZone::systemTimeZone()
*/
public native static io.qt.core.QTimeZone systemTimeZone();
/**
* See QTimeZone::systemTimeZoneId()
*/
public native static io.qt.core.QByteArray systemTimeZoneId();
/**
* See QTimeZone::utc()
*/
public native static io.qt.core.QTimeZone utc();
/**
* See QTimeZone::windowsIdToDefaultIanaId(QByteArray)
*/
public static io.qt.core.QByteArray windowsIdToDefaultIanaId(io.qt.core.QByteArray windowsId){
return windowsIdToDefaultIanaId_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(windowsId));
}
private native static io.qt.core.QByteArray windowsIdToDefaultIanaId_native_cref_QByteArray(long windowsId);
/**
* See QTimeZone::windowsIdToDefaultIanaId(QByteArray,QLocale::Territory)
*/
public static io.qt.core.QByteArray windowsIdToDefaultIanaId(io.qt.core.QByteArray windowsId, io.qt.core.QLocale.Country territory){
return windowsIdToDefaultIanaId_native_cref_QByteArray_QLocale_Country(QtJambi_LibraryUtilities.internal.checkedNativeId(windowsId), territory.value());
}
private native static io.qt.core.QByteArray windowsIdToDefaultIanaId_native_cref_QByteArray_QLocale_Country(long windowsId, short territory);
/**
* See QTimeZone::windowsIdToIanaIds(QByteArray)
*/
public static io.qt.core.QList windowsIdToIanaIds(io.qt.core.QByteArray windowsId){
return windowsIdToIanaIds_native_cref_QByteArray(QtJambi_LibraryUtilities.internal.checkedNativeId(windowsId));
}
private native static io.qt.core.QList windowsIdToIanaIds_native_cref_QByteArray(long windowsId);
/**
* See QTimeZone::windowsIdToIanaIds(QByteArray,QLocale::Territory)
*/
public static io.qt.core.QList windowsIdToIanaIds(io.qt.core.QByteArray windowsId, io.qt.core.QLocale.Country territory){
return windowsIdToIanaIds_native_cref_QByteArray_QLocale_Country(QtJambi_LibraryUtilities.internal.checkedNativeId(windowsId), territory.value());
}
private native static io.qt.core.QList windowsIdToIanaIds_native_cref_QByteArray_QLocale_Country(long windowsId, short territory);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QTimeZone(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QTimeZone) {
return operator_equal((io.qt.core.QTimeZone) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
@io.qt.QtUninvokable
public String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private static native String toString_native(long __this_nativeId);
@Override
public QTimeZone clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QTimeZone clone_native(long __this_nativeId);
}