package org.joda.time.tz;

import org.joda.time.DateTimeZone;

/* loaded from: classes5.dex */
public final class FixedDateTimeZone extends DateTimeZone {
    private static final long serialVersionUID = -3513011772763289092L;
    private final String iNameKey;
    private final int iStandardOffset;
    private final int iWallOffset;

    public FixedDateTimeZone(String str, String str2, int i10, int i11) {
        super(str);
        this.iNameKey = str2;
        this.iWallOffset = i10;
        this.iStandardOffset = i11;
    }

    @Override // org.joda.time.DateTimeZone
    public long B(long j10) {
        return j10;
    }

    @Override // org.joda.time.DateTimeZone
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof FixedDateTimeZone)) {
            return false;
        }
        FixedDateTimeZone fixedDateTimeZone = (FixedDateTimeZone) obj;
        return n().equals(fixedDateTimeZone.n()) && this.iStandardOffset == fixedDateTimeZone.iStandardOffset && this.iWallOffset == fixedDateTimeZone.iWallOffset;
    }

    @Override // org.joda.time.DateTimeZone
    public int hashCode() {
        return n().hashCode() + (this.iStandardOffset * 37) + (this.iWallOffset * 31);
    }

    @Override // org.joda.time.DateTimeZone
    public String q(long j10) {
        return this.iNameKey;
    }

    @Override // org.joda.time.DateTimeZone
    public int s(long j10) {
        return this.iWallOffset;
    }

    @Override // org.joda.time.DateTimeZone
    public int t(long j10) {
        return this.iWallOffset;
    }

    @Override // org.joda.time.DateTimeZone
    public int w(long j10) {
        return this.iStandardOffset;
    }

    @Override // org.joda.time.DateTimeZone
    public boolean x() {
        return true;
    }

    @Override // org.joda.time.DateTimeZone
    public long z(long j10) {
        return j10;
    }
}
