package p463.p484.p485.p486;

import org.threeten.bp.DateTimeException;
import org.threeten.bp.temporal.UnsupportedTemporalTypeException;
import p138.p139.p143.p144.C2803;
import p463.p484.p485.p489.C7276;
import p463.p484.p485.p489.C7286;
import p463.p484.p485.p489.EnumC7259;
import p463.p484.p485.p489.EnumC7260;
import p463.p484.p485.p489.InterfaceC7269;
import p463.p484.p485.p489.InterfaceC7275;
import p463.p484.p485.p489.InterfaceC7284;

/* JADX INFO: renamed from: ޒ.ށ.֏.ސ.ދ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
public enum EnumC7208 implements InterfaceC7203 {
    BCE,
    CE;

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static EnumC7208 m10809(int i) {
        if (i == 0) {
            return BCE;
        }
        if (i == 1) {
            return CE;
        }
        throw new DateTimeException(C2803.m4871("Invalid era: ", i));
    }

    @Override // p463.p484.p485.p486.InterfaceC7203
    public int getValue() {
        return ordinal();
    }

    @Override // p463.p484.p485.p489.InterfaceC7270
    /* JADX INFO: renamed from: ֏ */
    public <R> R mo10592(InterfaceC7284<R> interfaceC7284) {
        if (interfaceC7284 == C7276.f21141) {
            return (R) EnumC7260.ERAS;
        }
        if (interfaceC7284 == C7276.f21140 || interfaceC7284 == C7276.f21142 || interfaceC7284 == C7276.f21139 || interfaceC7284 == C7276.f21143 || interfaceC7284 == C7276.f21144 || interfaceC7284 == C7276.f21145) {
            return null;
        }
        return interfaceC7284.mo10675(this);
    }

    @Override // p463.p484.p485.p489.InterfaceC7271
    /* JADX INFO: renamed from: ֏ */
    public InterfaceC7269 mo10593(InterfaceC7269 interfaceC7269) {
        return interfaceC7269.mo10616(EnumC7259.ERA, ordinal());
    }

    @Override // p463.p484.p485.p489.InterfaceC7270
    /* JADX INFO: renamed from: ֏ */
    public C7286 mo10594(InterfaceC7275 interfaceC7275) {
        if (interfaceC7275 == EnumC7259.ERA) {
            return interfaceC7275.mo10905();
        }
        if (interfaceC7275 instanceof EnumC7259) {
            throw new UnsupportedTemporalTypeException(C2803.m4881("Unsupported field: ", interfaceC7275));
        }
        return interfaceC7275.mo10902(this);
    }

    @Override // p463.p484.p485.p489.InterfaceC7270
    /* JADX INFO: renamed from: ؠ */
    public boolean mo10595(InterfaceC7275 interfaceC7275) {
        return interfaceC7275 instanceof EnumC7259 ? interfaceC7275 == EnumC7259.ERA : interfaceC7275 != null && interfaceC7275.mo10900(this);
    }

    @Override // p463.p484.p485.p489.InterfaceC7270
    /* JADX INFO: renamed from: ހ */
    public int mo10596(InterfaceC7275 interfaceC7275) {
        return interfaceC7275 == EnumC7259.ERA ? ordinal() : mo10594(interfaceC7275).m10917(mo10597(interfaceC7275), interfaceC7275);
    }

    @Override // p463.p484.p485.p489.InterfaceC7270
    /* JADX INFO: renamed from: ށ */
    public long mo10597(InterfaceC7275 interfaceC7275) {
        if (interfaceC7275 == EnumC7259.ERA) {
            return ordinal();
        }
        if (interfaceC7275 instanceof EnumC7259) {
            throw new UnsupportedTemporalTypeException(C2803.m4881("Unsupported field: ", interfaceC7275));
        }
        return interfaceC7275.mo10901(this);
    }
}
