package org.joda.time.chrono;

import org.joda.time.DateTimeFieldType;

/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes5.dex */
public final class e extends org.joda.time.field.g {

    /* renamed from: s, reason: collision with root package name */
    private final BasicChronology f32000s;

    /* JADX INFO: Access modifiers changed from: package-private */
    public e(BasicChronology basicChronology, org.joda.time.d dVar) {
        super(DateTimeFieldType.R(), dVar);
        this.f32000s = basicChronology;
    }

    @Override // org.joda.time.field.a
    public int I(long j10) {
        return this.f32000s.A0(this.f32000s.B0(j10));
    }

    @Override // org.joda.time.field.g
    protected int J(long j10, int i10) {
        if (i10 > 52) {
            return I(j10);
        }
        return 52;
    }

    @Override // org.joda.time.field.a, org.joda.time.b
    public int c(long j10) {
        return this.f32000s.y0(j10);
    }

    @Override // org.joda.time.field.a, org.joda.time.b
    public int o() {
        return 53;
    }

    @Override // org.joda.time.field.g, org.joda.time.b
    public int p() {
        return 1;
    }

    @Override // org.joda.time.b
    public org.joda.time.d r() {
        return this.f32000s.I();
    }

    @Override // org.joda.time.field.g, org.joda.time.field.a, org.joda.time.b
    public long w(long j10) {
        return super.w(j10 + 259200000);
    }

    @Override // org.joda.time.field.g, org.joda.time.field.a, org.joda.time.b
    public long x(long j10) {
        return super.x(j10 + 259200000) - 259200000;
    }

    @Override // org.joda.time.field.g, org.joda.time.field.a, org.joda.time.b
    public long y(long j10) {
        return super.y(j10 + 259200000) - 259200000;
    }
}
