package j$.time.format;

import j$.time.Instant;
import j$.time.LocalDate;
import j$.time.ZoneId;
import j$.time.ZoneOffset;
import j$.time.chrono.ChronoLocalDate;
import j$.time.chrono.ChronoZonedDateTime;
import j$.time.chrono.InterfaceC2285d;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Objects;

/* JADX INFO: loaded from: classes2.dex */
final class F implements j$.time.temporal.n {

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    ZoneId f19206b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    j$.time.chrono.k f19207c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    boolean f19208d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    private G f19209e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    private ChronoLocalDate f19210f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    private j$.time.l f19211g;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    final HashMap f19205a = new HashMap();

    /* JADX INFO: renamed from: h, reason: collision with root package name */
    j$.time.s f19212h = j$.time.s.f19321d;

    F() {
    }

    @Override // j$.time.temporal.n
    public final boolean f(j$.time.temporal.s sVar) {
        if (this.f19205a.containsKey(sVar)) {
            return true;
        }
        ChronoLocalDate chronoLocalDate = this.f19210f;
        if (chronoLocalDate != null && chronoLocalDate.f(sVar)) {
            return true;
        }
        j$.time.l lVar = this.f19211g;
        if (lVar == null || !lVar.f(sVar)) {
            return (sVar == null || (sVar instanceof j$.time.temporal.a) || !sVar.Y(this)) ? false : true;
        }
        return true;
    }

    @Override // j$.time.temporal.n
    public final long g(j$.time.temporal.s sVar) {
        Objects.requireNonNull(sVar, "field");
        Long l = (Long) this.f19205a.get(sVar);
        if (l != null) {
            return l.longValue();
        }
        ChronoLocalDate chronoLocalDate = this.f19210f;
        if (chronoLocalDate != null && chronoLocalDate.f(sVar)) {
            return this.f19210f.g(sVar);
        }
        j$.time.l lVar = this.f19211g;
        if (lVar != null && lVar.f(sVar)) {
            return this.f19211g.g(sVar);
        }
        if (sVar instanceof j$.time.temporal.a) {
            throw new j$.time.temporal.w(j$.time.d.a("Unsupported field: ", sVar));
        }
        return sVar.r(this);
    }

    @Override // j$.time.temporal.n
    public final Object d(j$.time.temporal.u uVar) {
        if (uVar == j$.time.temporal.t.g()) {
            return this.f19206b;
        }
        if (uVar == j$.time.temporal.t.a()) {
            return this.f19207c;
        }
        if (uVar == j$.time.temporal.t.b()) {
            ChronoLocalDate chronoLocalDate = this.f19210f;
            if (chronoLocalDate != null) {
                return LocalDate.J(chronoLocalDate);
            }
            return null;
        }
        if (uVar == j$.time.temporal.t.c()) {
            return this.f19211g;
        }
        if (uVar == j$.time.temporal.t.d()) {
            Long l = (Long) this.f19205a.get(j$.time.temporal.a.OFFSET_SECONDS);
            if (l != null) {
                return ZoneOffset.f0(l.intValue());
            }
            ZoneId zoneId = this.f19206b;
            return zoneId instanceof ZoneOffset ? zoneId : uVar.l(this);
        }
        if (uVar == j$.time.temporal.t.f()) {
            return uVar.l(this);
        }
        if (uVar == j$.time.temporal.t.e()) {
            return null;
        }
        return uVar.l(this);
    }

    /* JADX WARN: Removed duplicated region for block: B:75:0x01b9  */
    /* JADX WARN: Type inference fix 'apply assigned field type' failed
    java.lang.UnsupportedOperationException: ArgType.getObject(), call class: class jadx.core.dex.instructions.args.ArgType$UnknownArg
    	at jadx.core.dex.instructions.args.ArgType.getObject(ArgType.java:593)
    	at jadx.core.dex.attributes.nodes.ClassTypeVarsAttr.getTypeVarsMapFor(ClassTypeVarsAttr.java:35)
    	at jadx.core.dex.nodes.utils.TypeUtils.replaceClassGenerics(TypeUtils.java:177)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.insertExplicitUseCast(FixTypesVisitor.java:397)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.tryFieldTypeWithNewCasts(FixTypesVisitor.java:359)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.applyFieldType(FixTypesVisitor.java:309)
    	at jadx.core.dex.visitors.typeinference.FixTypesVisitor.visit(FixTypesVisitor.java:94)
     */
    /*
        Code decompiled incorrectly, please refer to instructions dump.
    */
    final void r(G g6) {
        long j4;
        long j6;
        HashMap map = this.f19205a;
        this.f19209e = g6;
        s();
        z(this.f19207c.R(map, this.f19209e));
        w();
        if (map.size() > 0) {
            int i6 = 0;
            loop0: while (i6 < 50) {
                Iterator it = map.entrySet().iterator();
                while (it.hasNext()) {
                    j$.time.temporal.s sVar = (j$.time.temporal.s) ((Map.Entry) it.next()).getKey();
                    j$.time.temporal.n nVarU = sVar.U(map, this, this.f19209e);
                    if (nVarU != null) {
                        if (nVarU instanceof ChronoZonedDateTime) {
                            ChronoZonedDateTime chronoZonedDateTime = (ChronoZonedDateTime) nVarU;
                            ZoneId zoneId = this.f19206b;
                            if (zoneId == null) {
                                this.f19206b = chronoZonedDateTime.S();
                            } else if (!zoneId.equals(chronoZonedDateTime.S())) {
                                throw new j$.time.c("ChronoZonedDateTime must use the effective parsed zone: " + this.f19206b);
                            }
                            nVarU = chronoZonedDateTime.A();
                        }
                        if (nVarU instanceof InterfaceC2285d) {
                            InterfaceC2285d interfaceC2285d = (InterfaceC2285d) nVarU;
                            x(interfaceC2285d.n(), j$.time.s.f19321d);
                            z(interfaceC2285d.o());
                        } else if (nVarU instanceof ChronoLocalDate) {
                            z((ChronoLocalDate) nVarU);
                        } else if (nVarU instanceof j$.time.l) {
                            x((j$.time.l) nVarU, j$.time.s.f19321d);
                        } else {
                            throw new j$.time.c("Method resolve() can only return ChronoZonedDateTime, ChronoLocalDateTime, ChronoLocalDate or LocalTime");
                        }
                    } else if (!map.containsKey(sVar)) {
                        break;
                    }
                    i6++;
                }
            }
            if (i6 == 50) {
                throw new j$.time.c("One of the parsed fields has an incorrectly implemented resolve method");
            }
            if (i6 > 0) {
                s();
                z(this.f19207c.R(map, this.f19209e));
                w();
            }
        }
        if (this.f19211g == null) {
            j$.time.temporal.a aVar = j$.time.temporal.a.MILLI_OF_SECOND;
            if (map.containsKey(aVar)) {
                long jLongValue = ((Long) map.remove(aVar)).longValue();
                j$.time.temporal.a aVar2 = j$.time.temporal.a.MICRO_OF_SECOND;
                if (map.containsKey(aVar2)) {
                    long jLongValue2 = (((Long) map.get(aVar2)).longValue() % 1000) + (jLongValue * 1000);
                    B(aVar, aVar2, Long.valueOf(jLongValue2));
                    map.remove(aVar2);
                    map.put(j$.time.temporal.a.NANO_OF_SECOND, Long.valueOf(jLongValue2 * 1000));
                } else {
                    map.put(j$.time.temporal.a.NANO_OF_SECOND, Long.valueOf(jLongValue * 1000000));
                }
            } else {
                Object obj = j$.time.temporal.a.MICRO_OF_SECOND;
                if (map.containsKey(obj)) {
                    map.put(j$.time.temporal.a.NANO_OF_SECOND, Long.valueOf(((Long) map.remove(obj)).longValue() * 1000));
                }
            }
            Object obj2 = j$.time.temporal.a.HOUR_OF_DAY;
            Long l = (Long) map.get(obj2);
            if (l != null) {
                Object obj3 = j$.time.temporal.a.MINUTE_OF_HOUR;
                Long l6 = (Long) map.get(obj3);
                Object obj4 = j$.time.temporal.a.SECOND_OF_MINUTE;
                Long l7 = (Long) map.get(obj4);
                Object obj5 = j$.time.temporal.a.NANO_OF_SECOND;
                Long l8 = (Long) map.get(obj5);
                if ((l6 != null || (l7 == null && l8 == null)) && (l6 == null || l7 != null || l8 == null)) {
                    j6 = 0;
                    j4 = 1000000;
                    v(l.longValue(), l6 != null ? l6.longValue() : 0L, l7 != null ? l7.longValue() : 0L, l8 != null ? l8.longValue() : 0L);
                    map.remove(obj2);
                    map.remove(obj3);
                    map.remove(obj4);
                    map.remove(obj5);
                } else {
                    j4 = 1000000;
                    j6 = 0;
                }
            } else {
                j4 = 1000000;
                j6 = 0;
            }
            if (this.f19209e != G.LENIENT && map.size() > 0) {
                for (Map.Entry entry : map.entrySet()) {
                    j$.time.temporal.s sVar2 = (j$.time.temporal.s) entry.getKey();
                    if ((sVar2 instanceof j$.time.temporal.a) && ((j$.time.temporal.a) sVar2).d0()) {
                        ((j$.time.temporal.a) sVar2).c0(((Long) entry.getValue()).longValue());
                    }
                }
            }
        }
        ChronoLocalDate chronoLocalDate = this.f19210f;
        if (chronoLocalDate != null) {
            q(chronoLocalDate);
        }
        j$.time.l lVar = this.f19211g;
        if (lVar != null) {
            q(lVar);
            if (this.f19210f != null && map.size() > 0) {
                q(this.f19210f.L(this.f19211g));
            }
        }
        if (this.f19210f != null && this.f19211g != null) {
            j$.time.s sVar3 = this.f19212h;
            sVar3.getClass();
            j$.time.s sVar4 = j$.time.s.f19321d;
            if (sVar3 != sVar4) {
                this.f19210f = this.f19210f.N(this.f19212h);
                this.f19212h = sVar4;
            }
        }
        if (this.f19211g == null && (map.containsKey(j$.time.temporal.a.INSTANT_SECONDS) || map.containsKey(j$.time.temporal.a.SECOND_OF_DAY) || map.containsKey(j$.time.temporal.a.SECOND_OF_MINUTE))) {
            j$.time.temporal.a aVar3 = j$.time.temporal.a.NANO_OF_SECOND;
            if (map.containsKey(aVar3)) {
                long jLongValue3 = ((Long) map.get(aVar3)).longValue();
                map.put(j$.time.temporal.a.MICRO_OF_SECOND, Long.valueOf(jLongValue3 / 1000));
                map.put(j$.time.temporal.a.MILLI_OF_SECOND, Long.valueOf(jLongValue3 / j4));
            } else {
                map.put(aVar3, Long.valueOf(j6));
                map.put(j$.time.temporal.a.MICRO_OF_SECOND, Long.valueOf(j6));
                map.put(j$.time.temporal.a.MILLI_OF_SECOND, Long.valueOf(j6));
            }
        }
        if (this.f19210f == null || this.f19211g == null) {
            return;
        }
        Long l9 = (Long) map.get(j$.time.temporal.a.OFFSET_SECONDS);
        if (l9 != null) {
            map.put(j$.time.temporal.a.INSTANT_SECONDS, Long.valueOf(this.f19210f.L(this.f19211g).H(ZoneOffset.f0(l9.intValue())).Q()));
        } else if (this.f19206b != null) {
            map.put(j$.time.temporal.a.INSTANT_SECONDS, Long.valueOf(this.f19210f.L(this.f19211g).H(this.f19206b).Q()));
        }
    }

    private void B(j$.time.temporal.s sVar, j$.time.temporal.a aVar, Long l) {
        Long l6 = (Long) this.f19205a.put(aVar, l);
        if (l6 == null || l6.longValue() == l.longValue()) {
            return;
        }
        throw new j$.time.c("Conflict found: " + aVar + " " + l6 + " differs from " + aVar + " " + l + " while resolving  " + sVar);
    }

    private void s() {
        HashMap map = this.f19205a;
        if (map.containsKey(j$.time.temporal.a.INSTANT_SECONDS)) {
            ZoneId zoneId = this.f19206b;
            if (zoneId != null) {
                t(zoneId);
                return;
            }
            Long l = (Long) map.get(j$.time.temporal.a.OFFSET_SECONDS);
            if (l != null) {
                t(ZoneOffset.f0(l.intValue()));
            }
        }
    }

    private void t(ZoneId zoneId) {
        HashMap map = this.f19205a;
        j$.time.temporal.a aVar = j$.time.temporal.a.INSTANT_SECONDS;
        z(this.f19207c.x(Instant.ofEpochSecond(((Long) map.remove(aVar)).longValue()), zoneId).o());
        B(aVar, j$.time.temporal.a.SECOND_OF_DAY, Long.valueOf(r5.n().n0()));
    }

    private void z(ChronoLocalDate chronoLocalDate) {
        ChronoLocalDate chronoLocalDate2 = this.f19210f;
        if (chronoLocalDate2 != null) {
            if (chronoLocalDate == null || chronoLocalDate2.equals(chronoLocalDate)) {
                return;
            }
            throw new j$.time.c("Conflict found: Fields resolved to two different dates: " + this.f19210f + " " + chronoLocalDate);
        }
        if (chronoLocalDate != null) {
            if (!this.f19207c.equals(chronoLocalDate.i())) {
                throw new j$.time.c("ChronoLocalDate must use the effective parsed chronology: " + this.f19207c);
            }
            this.f19210f = chronoLocalDate;
        }
    }

    private void w() {
        HashMap map = this.f19205a;
        j$.time.temporal.a aVar = j$.time.temporal.a.CLOCK_HOUR_OF_DAY;
        if (map.containsKey(aVar)) {
            long jLongValue = ((Long) map.remove(aVar)).longValue();
            G g6 = this.f19209e;
            if (g6 == G.STRICT || (g6 == G.SMART && jLongValue != 0)) {
                aVar.c0(jLongValue);
            }
            j$.time.temporal.a aVar2 = j$.time.temporal.a.HOUR_OF_DAY;
            if (jLongValue == 24) {
                jLongValue = 0;
            }
            B(aVar, aVar2, Long.valueOf(jLongValue));
        }
        j$.time.temporal.a aVar3 = j$.time.temporal.a.CLOCK_HOUR_OF_AMPM;
        if (map.containsKey(aVar3)) {
            long jLongValue2 = ((Long) map.remove(aVar3)).longValue();
            G g7 = this.f19209e;
            if (g7 == G.STRICT || (g7 == G.SMART && jLongValue2 != 0)) {
                aVar3.c0(jLongValue2);
            }
            B(aVar3, j$.time.temporal.a.HOUR_OF_AMPM, Long.valueOf(jLongValue2 != 12 ? jLongValue2 : 0L));
        }
        j$.time.temporal.a aVar4 = j$.time.temporal.a.AMPM_OF_DAY;
        if (map.containsKey(aVar4)) {
            j$.time.temporal.a aVar5 = j$.time.temporal.a.HOUR_OF_AMPM;
            if (map.containsKey(aVar5)) {
                long jLongValue3 = ((Long) map.remove(aVar4)).longValue();
                long jLongValue4 = ((Long) map.remove(aVar5)).longValue();
                if (this.f19209e == G.LENIENT) {
                    B(aVar4, j$.time.temporal.a.HOUR_OF_DAY, Long.valueOf(Math.addExact(Math.multiplyExact(jLongValue3, 12), jLongValue4)));
                } else {
                    aVar4.c0(jLongValue3);
                    aVar5.c0(jLongValue3);
                    B(aVar4, j$.time.temporal.a.HOUR_OF_DAY, Long.valueOf((jLongValue3 * 12) + jLongValue4));
                }
            }
        }
        j$.time.temporal.a aVar6 = j$.time.temporal.a.NANO_OF_DAY;
        if (map.containsKey(aVar6)) {
            long jLongValue5 = ((Long) map.remove(aVar6)).longValue();
            if (this.f19209e != G.LENIENT) {
                aVar6.c0(jLongValue5);
            }
            B(aVar6, j$.time.temporal.a.HOUR_OF_DAY, Long.valueOf(jLongValue5 / 3600000000000L));
            B(aVar6, j$.time.temporal.a.MINUTE_OF_HOUR, Long.valueOf((jLongValue5 / 60000000000L) % 60));
            B(aVar6, j$.time.temporal.a.SECOND_OF_MINUTE, Long.valueOf((jLongValue5 / androidx.media3.common.C.NANOS_PER_SECOND) % 60));
            B(aVar6, j$.time.temporal.a.NANO_OF_SECOND, Long.valueOf(jLongValue5 % androidx.media3.common.C.NANOS_PER_SECOND));
        }
        j$.time.temporal.a aVar7 = j$.time.temporal.a.MICRO_OF_DAY;
        if (map.containsKey(aVar7)) {
            long jLongValue6 = ((Long) map.remove(aVar7)).longValue();
            if (this.f19209e != G.LENIENT) {
                aVar7.c0(jLongValue6);
            }
            B(aVar7, j$.time.temporal.a.SECOND_OF_DAY, Long.valueOf(jLongValue6 / 1000000));
            B(aVar7, j$.time.temporal.a.MICRO_OF_SECOND, Long.valueOf(jLongValue6 % 1000000));
        }
        j$.time.temporal.a aVar8 = j$.time.temporal.a.MILLI_OF_DAY;
        if (map.containsKey(aVar8)) {
            long jLongValue7 = ((Long) map.remove(aVar8)).longValue();
            if (this.f19209e != G.LENIENT) {
                aVar8.c0(jLongValue7);
            }
            B(aVar8, j$.time.temporal.a.SECOND_OF_DAY, Long.valueOf(jLongValue7 / 1000));
            B(aVar8, j$.time.temporal.a.MILLI_OF_SECOND, Long.valueOf(jLongValue7 % 1000));
        }
        j$.time.temporal.a aVar9 = j$.time.temporal.a.SECOND_OF_DAY;
        if (map.containsKey(aVar9)) {
            long jLongValue8 = ((Long) map.remove(aVar9)).longValue();
            if (this.f19209e != G.LENIENT) {
                aVar9.c0(jLongValue8);
            }
            B(aVar9, j$.time.temporal.a.HOUR_OF_DAY, Long.valueOf(jLongValue8 / 3600));
            B(aVar9, j$.time.temporal.a.MINUTE_OF_HOUR, Long.valueOf((jLongValue8 / 60) % 60));
            B(aVar9, j$.time.temporal.a.SECOND_OF_MINUTE, Long.valueOf(jLongValue8 % 60));
        }
        j$.time.temporal.a aVar10 = j$.time.temporal.a.MINUTE_OF_DAY;
        if (map.containsKey(aVar10)) {
            long jLongValue9 = ((Long) map.remove(aVar10)).longValue();
            if (this.f19209e != G.LENIENT) {
                aVar10.c0(jLongValue9);
            }
            B(aVar10, j$.time.temporal.a.HOUR_OF_DAY, Long.valueOf(jLongValue9 / 60));
            B(aVar10, j$.time.temporal.a.MINUTE_OF_HOUR, Long.valueOf(jLongValue9 % 60));
        }
        j$.time.temporal.a aVar11 = j$.time.temporal.a.NANO_OF_SECOND;
        if (map.containsKey(aVar11)) {
            long jLongValue10 = ((Long) map.get(aVar11)).longValue();
            G g8 = this.f19209e;
            G g9 = G.LENIENT;
            if (g8 != g9) {
                aVar11.c0(jLongValue10);
            }
            j$.time.temporal.a aVar12 = j$.time.temporal.a.MICRO_OF_SECOND;
            if (map.containsKey(aVar12)) {
                long jLongValue11 = ((Long) map.remove(aVar12)).longValue();
                if (this.f19209e != g9) {
                    aVar12.c0(jLongValue11);
                }
                jLongValue10 = (jLongValue10 % 1000) + (jLongValue11 * 1000);
                B(aVar12, aVar11, Long.valueOf(jLongValue10));
            }
            j$.time.temporal.a aVar13 = j$.time.temporal.a.MILLI_OF_SECOND;
            if (map.containsKey(aVar13)) {
                long jLongValue12 = ((Long) map.remove(aVar13)).longValue();
                if (this.f19209e != g9) {
                    aVar13.c0(jLongValue12);
                }
                B(aVar13, aVar11, Long.valueOf((jLongValue10 % 1000000) + (jLongValue12 * 1000000)));
            }
        }
        j$.time.temporal.a aVar14 = j$.time.temporal.a.HOUR_OF_DAY;
        if (map.containsKey(aVar14)) {
            j$.time.temporal.a aVar15 = j$.time.temporal.a.MINUTE_OF_HOUR;
            if (map.containsKey(aVar15)) {
                j$.time.temporal.a aVar16 = j$.time.temporal.a.SECOND_OF_MINUTE;
                if (map.containsKey(aVar16) && map.containsKey(aVar11)) {
                    v(((Long) map.remove(aVar14)).longValue(), ((Long) map.remove(aVar15)).longValue(), ((Long) map.remove(aVar16)).longValue(), ((Long) map.remove(aVar11)).longValue());
                }
            }
        }
    }

    private void v(long j4, long j6, long j7, long j8) {
        if (this.f19209e == G.LENIENT) {
            long jAddExact = Math.addExact(Math.addExact(Math.addExact(Math.multiplyExact(j4, 3600000000000L), Math.multiplyExact(j6, 60000000000L)), Math.multiplyExact(j7, androidx.media3.common.C.NANOS_PER_SECOND)), j8);
            x(j$.time.l.e0(Math.floorMod(jAddExact, 86400000000000L)), j$.time.s.b((int) Math.floorDiv(jAddExact, 86400000000000L)));
            return;
        }
        int iB0 = j$.time.temporal.a.MINUTE_OF_HOUR.b0(j6);
        int iB02 = j$.time.temporal.a.NANO_OF_SECOND.b0(j8);
        if (this.f19209e == G.SMART && j4 == 24 && iB0 == 0 && j7 == 0 && iB02 == 0) {
            x(j$.time.l.f19306g, j$.time.s.b(1));
        } else {
            x(j$.time.l.d0(j$.time.temporal.a.HOUR_OF_DAY.b0(j4), iB0, j$.time.temporal.a.SECOND_OF_MINUTE.b0(j7), iB02), j$.time.s.f19321d);
        }
    }

    private void x(j$.time.l lVar, j$.time.s sVar) {
        j$.time.l lVar2 = this.f19211g;
        if (lVar2 != null) {
            if (!lVar2.equals(lVar)) {
                throw new j$.time.c("Conflict found: Fields resolved to different times: " + this.f19211g + " " + lVar);
            }
            j$.time.s sVar2 = this.f19212h;
            sVar2.getClass();
            j$.time.s sVar3 = j$.time.s.f19321d;
            if (sVar2 != sVar3 && sVar != sVar3 && !this.f19212h.equals(sVar)) {
                throw new j$.time.c("Conflict found: Fields resolved to different excess periods: " + this.f19212h + " " + sVar);
            }
            this.f19212h = sVar;
            return;
        }
        this.f19211g = lVar;
        this.f19212h = sVar;
    }

    private void q(j$.time.temporal.n nVar) {
        Iterator it = this.f19205a.entrySet().iterator();
        while (it.hasNext()) {
            Map.Entry entry = (Map.Entry) it.next();
            j$.time.temporal.s sVar = (j$.time.temporal.s) entry.getKey();
            if (nVar.f(sVar)) {
                try {
                    long jG = nVar.g(sVar);
                    long jLongValue = ((Long) entry.getValue()).longValue();
                    if (jG != jLongValue) {
                        throw new j$.time.c("Conflict found: Field " + sVar + " " + jG + " differs from " + sVar + " " + jLongValue + " derived from " + nVar);
                    }
                    it.remove();
                } catch (RuntimeException unused) {
                    continue;
                }
            }
        }
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder(64);
        sb.append(this.f19205a);
        sb.append(',');
        sb.append(this.f19207c);
        if (this.f19206b != null) {
            sb.append(',');
            sb.append(this.f19206b);
        }
        if (this.f19210f != null || this.f19211g != null) {
            sb.append(" resolved to ");
            ChronoLocalDate chronoLocalDate = this.f19210f;
            if (chronoLocalDate != null) {
                sb.append(chronoLocalDate);
                if (this.f19211g != null) {
                    sb.append('T');
                    sb.append(this.f19211g);
                }
            } else {
                sb.append(this.f19211g);
            }
        }
        return sb.toString();
    }
}
