a.smali

.class public abstract Lrq/a;
.super Lrq/c;
.source "DefaultInterfaceEra.java"

# interfaces
.implements Lpq/i;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Lrq/c;-><init>()V

    return-void
.end method


# virtual methods
.method public adjustInto(Lsq/a;)Lsq/a;
    .registers 5

    sget-object v0, Lorg/threeten/bp/temporal/ChronoField;->ERA:Lorg/threeten/bp/temporal/ChronoField;

    invoke-interface {p0}, Lpq/i;->getValue()I

    move-result v1

    int-to-long v1, v1

    invoke-interface {p1, v0, v1, v2}, Lsq/a;->a(Lsq/e;J)Lsq/a;

    move-result-object p1

    return-object p1
.end method

.method public get(Lsq/e;)I
    .registers 5

    sget-object v0, Lorg/threeten/bp/temporal/ChronoField;->ERA:Lorg/threeten/bp/temporal/ChronoField;

    if-ne p1, v0, :cond_9

    invoke-interface {p0}, Lpq/i;->getValue()I

    move-result p1

    return p1

    :cond_9
    invoke-virtual {p0, p1}, Lrq/c;->range(Lsq/e;)Lsq/j;

    move-result-object v0

    invoke-virtual {p0, p1}, Lrq/a;->getLong(Lsq/e;)J

    move-result-wide v1

    invoke-virtual {v0, v1, v2, p1}, Lsq/j;->a(JLsq/e;)I

    move-result p1

    return p1
.end method

.method public getLong(Lsq/e;)J
    .registers 5

    sget-object v0, Lorg/threeten/bp/temporal/ChronoField;->ERA:Lorg/threeten/bp/temporal/ChronoField;

    if-ne p1, v0, :cond_a

    invoke-interface {p0}, Lpq/i;->getValue()I

    move-result p1

    int-to-long v0, p1

    return-wide v0

    :cond_a
    instance-of v0, p1, Lorg/threeten/bp/temporal/ChronoField;

    if-nez v0, :cond_13

    invoke-interface {p1, p0}, Lsq/e;->getFrom(Lsq/b;)J

    move-result-wide v0

    return-wide v0

    :cond_13
    new-instance v0, Lsq/i;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Unsupported field: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {v0, p1}, Lsq/i;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public isSupported(Lsq/e;)Z
    .registers 5

    instance-of v0, p1, Lorg/threeten/bp/temporal/ChronoField;

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-eqz v0, :cond_d

    sget-object v0, Lorg/threeten/bp/temporal/ChronoField;->ERA:Lorg/threeten/bp/temporal/ChronoField;

    if-ne p1, v0, :cond_b

    goto :goto_c

    :cond_b
    const/4 v1, 0x0

    :goto_c
    return v1

    :cond_d
    if-eqz p1, :cond_16

    invoke-interface {p1, p0}, Lsq/e;->isSupportedBy(Lsq/b;)Z

    move-result p1

    if-eqz p1, :cond_16

    goto :goto_17

    :cond_16
    const/4 v1, 0x0

    :goto_17
    return v1
.end method

.method public query(Lsq/g;)Ljava/lang/Object;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "<R:",
            "Ljava/lang/Object;",
            ">(",
            "Lsq/g<",
            "TR;>;)TR;"
        }
    .end annotation

    invoke-static {}, Lsq/f;->e()Lsq/g;

    move-result-object v0

    if-ne p1, v0, :cond_9

    sget-object p1, Lorg/threeten/bp/temporal/ChronoUnit;->ERAS:Lorg/threeten/bp/temporal/ChronoUnit;

    return-object p1

    :cond_9
    invoke-static {}, Lsq/f;->a()Lsq/g;

    move-result-object v0

    if-eq p1, v0, :cond_33

    invoke-static {}, Lsq/f;->f()Lsq/g;

    move-result-object v0

    if-eq p1, v0, :cond_33

    invoke-static {}, Lsq/f;->g()Lsq/g;

    move-result-object v0

    if-eq p1, v0, :cond_33

    invoke-static {}, Lsq/f;->d()Lsq/g;

    move-result-object v0

    if-eq p1, v0, :cond_33

    invoke-static {}, Lsq/f;->b()Lsq/g;

    move-result-object v0

    if-eq p1, v0, :cond_33

    invoke-static {}, Lsq/f;->c()Lsq/g;

    move-result-object v0

    if-ne p1, v0, :cond_2e

    goto :goto_33

    :cond_2e
    invoke-interface {p1, p0}, Lsq/g;->a(Lsq/b;)Ljava/lang/Object;

    move-result-object p1

    return-object p1

    :cond_33
    :goto_33
    const/4 p1, 0x0

    return-object p1
.end method