IsoFields$Field.smali
.class public abstract enum Lorg/threeten/bp/temporal/IsoFields$Field;
.super Ljava/lang/Enum;
.source "IsoFields.java"
# interfaces
.implements Lsq/e;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/threeten/bp/temporal/IsoFields;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4409
name = "Field"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lorg/threeten/bp/temporal/IsoFields$Field;",
">;",
"Lsq/e;"
}
.end annotation
# static fields
.field public static final synthetic $VALUES:[Lorg/threeten/bp/temporal/IsoFields$Field;
.field public static final enum DAY_OF_QUARTER:Lorg/threeten/bp/temporal/IsoFields$Field;
.field public static final QUARTER_DAYS:[I
.field public static final enum QUARTER_OF_YEAR:Lorg/threeten/bp/temporal/IsoFields$Field;
.field public static final enum WEEK_BASED_YEAR:Lorg/threeten/bp/temporal/IsoFields$Field;
.field public static final enum WEEK_OF_WEEK_BASED_YEAR:Lorg/threeten/bp/temporal/IsoFields$Field;
# direct methods
.method public static constructor <clinit>()V
.registers 7
new-instance v0, Lorg/threeten/bp/temporal/IsoFields$Field$1;
const/4 v1, 0x0
const-string v2, "DAY_OF_QUARTER"
invoke-direct {v0, v2, v1}, Lorg/threeten/bp/temporal/IsoFields$Field$1;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/threeten/bp/temporal/IsoFields$Field;->DAY_OF_QUARTER:Lorg/threeten/bp/temporal/IsoFields$Field;
new-instance v0, Lorg/threeten/bp/temporal/IsoFields$Field$2;
const/4 v2, 0x1
const-string v3, "QUARTER_OF_YEAR"
invoke-direct {v0, v3, v2}, Lorg/threeten/bp/temporal/IsoFields$Field$2;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/threeten/bp/temporal/IsoFields$Field;->QUARTER_OF_YEAR:Lorg/threeten/bp/temporal/IsoFields$Field;
new-instance v0, Lorg/threeten/bp/temporal/IsoFields$Field$3;
const/4 v3, 0x2
const-string v4, "WEEK_OF_WEEK_BASED_YEAR"
invoke-direct {v0, v4, v3}, Lorg/threeten/bp/temporal/IsoFields$Field$3;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/threeten/bp/temporal/IsoFields$Field;->WEEK_OF_WEEK_BASED_YEAR:Lorg/threeten/bp/temporal/IsoFields$Field;
new-instance v0, Lorg/threeten/bp/temporal/IsoFields$Field$4;
const/4 v4, 0x3
const-string v5, "WEEK_BASED_YEAR"
invoke-direct {v0, v5, v4}, Lorg/threeten/bp/temporal/IsoFields$Field$4;-><init>(Ljava/lang/String;I)V
sput-object v0, Lorg/threeten/bp/temporal/IsoFields$Field;->WEEK_BASED_YEAR:Lorg/threeten/bp/temporal/IsoFields$Field;
const/4 v5, 0x4
new-array v5, v5, [Lorg/threeten/bp/temporal/IsoFields$Field;
sget-object v6, Lorg/threeten/bp/temporal/IsoFields$Field;->DAY_OF_QUARTER:Lorg/threeten/bp/temporal/IsoFields$Field;
aput-object v6, v5, v1
sget-object v1, Lorg/threeten/bp/temporal/IsoFields$Field;->QUARTER_OF_YEAR:Lorg/threeten/bp/temporal/IsoFields$Field;
aput-object v1, v5, v2
sget-object v1, Lorg/threeten/bp/temporal/IsoFields$Field;->WEEK_OF_WEEK_BASED_YEAR:Lorg/threeten/bp/temporal/IsoFields$Field;
aput-object v1, v5, v3
aput-object v0, v5, v4
sput-object v5, Lorg/threeten/bp/temporal/IsoFields$Field;->$VALUES:[Lorg/threeten/bp/temporal/IsoFields$Field;
const/16 v0, 0x8
new-array v0, v0, [I
fill-array-data v0, :array_46
sput-object v0, Lorg/threeten/bp/temporal/IsoFields$Field;->QUARTER_DAYS:[I
return-void
nop
:array_46
.array-data 4
0x0
0x5a
0xb5
0x111
0x0
0x5b
0xb6
0x112
.end array-data
.end method
.method public constructor <init>(Ljava/lang/String;I)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public synthetic constructor <init>(Ljava/lang/String;ILorg/threeten/bp/temporal/IsoFields$a;)V
.registers 4
invoke-direct {p0, p1, p2}, Lorg/threeten/bp/temporal/IsoFields$Field;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static synthetic access$100(Lsq/b;)Z
.registers 1
invoke-static {p0}, Lorg/threeten/bp/temporal/IsoFields$Field;->isIso(Lsq/b;)Z
move-result p0
return p0
.end method
.method public static synthetic access$200()[I
.registers 1
sget-object v0, Lorg/threeten/bp/temporal/IsoFields$Field;->QUARTER_DAYS:[I
return-object v0
.end method
.method public static synthetic access$300(Loq/e;)Lsq/j;
.registers 1
invoke-static {p0}, Lorg/threeten/bp/temporal/IsoFields$Field;->getWeekRange(Loq/e;)Lsq/j;
move-result-object p0
return-object p0
.end method
.method public static synthetic access$400(Loq/e;)I
.registers 1
invoke-static {p0}, Lorg/threeten/bp/temporal/IsoFields$Field;->getWeek(Loq/e;)I
move-result p0
return p0
.end method
.method public static synthetic access$500(Loq/e;)I
.registers 1
invoke-static {p0}, Lorg/threeten/bp/temporal/IsoFields$Field;->getWeekBasedYear(Loq/e;)I
move-result p0
return p0
.end method
.method public static synthetic access$600(I)I
.registers 1
invoke-static {p0}, Lorg/threeten/bp/temporal/IsoFields$Field;->getWeekRange(I)I
move-result p0
return p0
.end method
.method public static getWeek(Loq/e;)I
.registers 6
invoke-virtual {p0}, Loq/e;->f()Lorg/threeten/bp/DayOfWeek;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
move-result v0
invoke-virtual {p0}, Loq/e;->g()I
move-result v1
const/4 v2, 0x1
sub-int/2addr v1, v2
rsub-int/lit8 v0, v0, 0x3
add-int/2addr v0, v1
div-int/lit8 v3, v0, 0x7
mul-int/lit8 v3, v3, 0x7
sub-int/2addr v0, v3
add-int/lit8 v0, v0, -0x3
const/4 v3, -0x3
if-ge v0, v3, :cond_1d
add-int/lit8 v0, v0, 0x7
:cond_1d
if-ge v1, v0, :cond_35
const/16 v0, 0xb4
invoke-virtual {p0, v0}, Loq/e;->b(I)Loq/e;
move-result-object p0
const-wide/16 v0, 0x1
invoke-virtual {p0, v0, v1}, Loq/e;->b(J)Loq/e;
move-result-object p0
invoke-static {p0}, Lorg/threeten/bp/temporal/IsoFields$Field;->getWeekRange(Loq/e;)Lsq/j;
move-result-object p0
invoke-virtual {p0}, Lsq/j;->a()J
move-result-wide v0
long-to-int p0, v0
return p0
:cond_35
sub-int/2addr v1, v0
div-int/lit8 v1, v1, 0x7
add-int/2addr v1, v2
const/16 v4, 0x35
if-ne v1, v4, :cond_4f
if-eq v0, v3, :cond_4b
const/4 v3, -0x2
if-ne v0, v3, :cond_49
invoke-virtual {p0}, Loq/e;->l()Z
move-result p0
if-eqz p0, :cond_49
goto :goto_4b
:cond_49
const/4 p0, 0x0
goto :goto_4c
:cond_4b
:goto_4b
const/4 p0, 0x1
:goto_4c
if-nez p0, :cond_4f
goto :goto_50
:cond_4f
move v2, v1
:goto_50
return v2
.end method
.method public static getWeekBasedYear(Loq/e;)I
.registers 5
invoke-virtual {p0}, Loq/e;->k()I
move-result v0
invoke-virtual {p0}, Loq/e;->g()I
move-result v1
const/4 v2, 0x3
if-gt v1, v2, :cond_1a
invoke-virtual {p0}, Loq/e;->f()Lorg/threeten/bp/DayOfWeek;
move-result-object p0
invoke-virtual {p0}, Ljava/lang/Enum;->ordinal()I
move-result p0
sub-int/2addr v1, p0
const/4 p0, -0x2
if-ge v1, p0, :cond_31
add-int/lit8 v0, v0, -0x1
goto :goto_31
:cond_1a
const/16 v2, 0x16b
if-lt v1, v2, :cond_31
invoke-virtual {p0}, Loq/e;->f()Lorg/threeten/bp/DayOfWeek;
move-result-object v3
invoke-virtual {v3}, Ljava/lang/Enum;->ordinal()I
move-result v3
sub-int/2addr v1, v2
invoke-virtual {p0}, Loq/e;->l()Z
move-result p0
sub-int/2addr v1, p0
sub-int/2addr v1, v3
if-ltz v1, :cond_31
add-int/lit8 v0, v0, 0x1
:cond_31
:goto_31
return v0
.end method
.method public static getWeekRange(I)I
.registers 3
const/4 v0, 0x1
invoke-static {p0, v0, v0}, Loq/e;->a(III)Loq/e;
move-result-object p0
invoke-virtual {p0}, Loq/e;->f()Lorg/threeten/bp/DayOfWeek;
move-result-object v0
sget-object v1, Lorg/threeten/bp/DayOfWeek;->THURSDAY:Lorg/threeten/bp/DayOfWeek;
if-eq v0, v1, :cond_1f
invoke-virtual {p0}, Loq/e;->f()Lorg/threeten/bp/DayOfWeek;
move-result-object v0
sget-object v1, Lorg/threeten/bp/DayOfWeek;->WEDNESDAY:Lorg/threeten/bp/DayOfWeek;
if-ne v0, v1, :cond_1c
invoke-virtual {p0}, Loq/e;->l()Z
move-result p0
if-eqz p0, :cond_1c
goto :goto_1f
:cond_1c
const/16 p0, 0x34
return p0
:cond_1f
:goto_1f
const/16 p0, 0x35
return p0
.end method
.method public static getWeekRange(Loq/e;)Lsq/j;
.registers 5
invoke-static {p0}, Lorg/threeten/bp/temporal/IsoFields$Field;->getWeekBasedYear(Loq/e;)I
move-result p0
invoke-static {p0}, Lorg/threeten/bp/temporal/IsoFields$Field;->getWeekRange(I)I
move-result p0
int-to-long v0, p0
const-wide/16 v2, 0x1
invoke-static {v2, v3, v0, v1}, Lsq/j;->a(JJ)Lsq/j;
move-result-object p0
return-object p0
.end method
.method public static isIso(Lsq/b;)Z
.registers 2
invoke-static {p0}, Lpq/h;->d(Lsq/b;)Lpq/h;
move-result-object p0
sget-object v0, Lpq/l;->c:Lpq/l;
invoke-virtual {p0, v0}, Lpq/h;->equals(Ljava/lang/Object;)Z
move-result p0
return p0
.end method
.method public static valueOf(Ljava/lang/String;)Lorg/threeten/bp/temporal/IsoFields$Field;
.registers 2
const-class v0, Lorg/threeten/bp/temporal/IsoFields$Field;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lorg/threeten/bp/temporal/IsoFields$Field;
return-object p0
.end method
.method public static values()[Lorg/threeten/bp/temporal/IsoFields$Field;
.registers 1
sget-object v0, Lorg/threeten/bp/temporal/IsoFields$Field;->$VALUES:[Lorg/threeten/bp/temporal/IsoFields$Field;
invoke-virtual {v0}, [Lorg/threeten/bp/temporal/IsoFields$Field;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lorg/threeten/bp/temporal/IsoFields$Field;
return-object v0
.end method
# virtual methods
.method public getDisplayName(Ljava/util/Locale;)Ljava/lang/String;
.registers 3
const-string v0, "locale"
invoke-static {p1, v0}, Lrq/d;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
invoke-virtual {p0}, Ljava/lang/Enum;->toString()Ljava/lang/String;
move-result-object p1
return-object p1
.end method
.method public isDateBased()Z
.registers 2
const/4 v0, 0x1
return v0
.end method
.method public isTimeBased()Z
.registers 2
const/4 v0, 0x0
return v0
.end method
.method public resolve(Ljava/util/Map;Lsq/b;Lorg/threeten/bp/format/ResolverStyle;)Lsq/b;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Lsq/e;",
"Ljava/lang/Long;",
">;",
"Lsq/b;",
"Lorg/threeten/bp/format/ResolverStyle;",
")",
"Lsq/b;"
}
.end annotation
const/4 p1, 0x0
return-object p1
.end method