package p463.p484.p485.p489;

import java.io.Serializable;
import org.threeten.bp.DateTimeException;

/* JADX INFO: renamed from: ޒ.ށ.֏.ޓ.ދ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public final class C7286 implements Serializable {

    /* JADX INFO: renamed from: ރ, reason: contains not printable characters */
    public final long f21146;

    /* JADX INFO: renamed from: ބ, reason: contains not printable characters */
    public final long f21147;

    /* JADX INFO: renamed from: ޅ, reason: contains not printable characters */
    public final long f21148;

    /* JADX INFO: renamed from: ކ, reason: contains not printable characters */
    public final long f21149;

    public C7286(long j, long j2, long j3, long j4) {
        this.f21146 = j;
        this.f21147 = j2;
        this.f21148 = j3;
        this.f21149 = j4;
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static C7286 m10914(long j, long j2) {
        if (j <= j2) {
            return new C7286(j, j, j2, j2);
        }
        throw new IllegalArgumentException("Minimum value must be less than maximum value");
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static C7286 m10915(long j, long j2, long j3) {
        return m10916(j, j, j2, j3);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static C7286 m10916(long j, long j2, long j3, long j4) {
        if (j > j2) {
            throw new IllegalArgumentException("Smallest minimum value must be less than largest minimum value");
        }
        if (j3 > j4) {
            throw new IllegalArgumentException("Smallest maximum value must be less than largest maximum value");
        }
        if (j2 <= j4) {
            return new C7286(j, j2, j3, j4);
        }
        throw new IllegalArgumentException("Minimum value must be less than maximum value");
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof C7286)) {
            return false;
        }
        C7286 c7286 = (C7286) obj;
        return this.f21146 == c7286.f21146 && this.f21147 == c7286.f21147 && this.f21148 == c7286.f21148 && this.f21149 == c7286.f21149;
    }

    public int hashCode() {
        long j = this.f21146;
        long j2 = this.f21147;
        long j3 = (j + j2) << ((int) (j2 + 16));
        long j4 = this.f21148;
        long j5 = (j3 >> ((int) (j4 + 48))) << ((int) (j4 + 32));
        long j6 = this.f21149;
        long j7 = ((j5 >> ((int) (32 + j6))) << ((int) (j6 + 48))) >> 16;
        return (int) (j7 ^ (j7 >>> 32));
    }

    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(this.f21146);
        if (this.f21146 != this.f21147) {
            sb.append('/');
            sb.append(this.f21147);
        }
        sb.append(" - ");
        sb.append(this.f21148);
        if (this.f21148 != this.f21149) {
            sb.append('/');
            sb.append(this.f21149);
        }
        return sb.toString();
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public int m10917(long j, InterfaceC7275 interfaceC7275) {
        boolean z = false;
        if ((this.f21146 >= -2147483648L && this.f21149 <= 2147483647L) && m10918(j)) {
            z = true;
        }
        if (z) {
            return (int) j;
        }
        throw new DateTimeException("Invalid int value for " + interfaceC7275 + ": " + j);
    }

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public boolean m10918(long j) {
        return j >= this.f21146 && j <= this.f21149;
    }

    /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
    public long m10919(long j, InterfaceC7275 interfaceC7275) {
        if (m10918(j)) {
            return j;
        }
        if (interfaceC7275 == null) {
            throw new DateTimeException("Invalid value (valid values " + this + "): " + j);
        }
        throw new DateTimeException("Invalid value for " + interfaceC7275 + " (valid values " + this + "): " + j);
    }
}
