d$b.smali
.class public final Lsq/d$b;
.super Ljava/lang/Object;
.source "TemporalAdjusters.java"
# interfaces
.implements Lsq/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lsq/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "b"
.end annotation
# instance fields
.field public final a:I
.field public final b:I
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>(ILorg/threeten/bp/DayOfWeek;)V
.registers 4
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v0, "dayOfWeek"
invoke-static {p2, v0}, Lrq/d;->a(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
iput p1, p0, Lsq/d$b;->a:I
invoke-virtual {p2}, Lorg/threeten/bp/DayOfWeek;->getValue()I
move-result p1
iput p1, p0, Lsq/d$b;->b:I
return-void
.end method
.method public synthetic constructor <init>(ILorg/threeten/bp/DayOfWeek;Lsq/d$a;)V
.registers 4
invoke-direct {p0, p1, p2}, Lsq/d$b;-><init>(ILorg/threeten/bp/DayOfWeek;)V
return-void
.end method
# virtual methods
.method public adjustInto(Lsq/a;)Lsq/a;
.registers 5
sget-object v0, Lorg/threeten/bp/temporal/ChronoField;->DAY_OF_WEEK:Lorg/threeten/bp/temporal/ChronoField;
invoke-interface {p1, v0}, Lsq/b;->get(Lsq/e;)I
move-result v0
iget v1, p0, Lsq/d$b;->a:I
const/4 v2, 0x2
if-ge v1, v2, :cond_10
iget v1, p0, Lsq/d$b;->b:I
if-ne v0, v1, :cond_10
return-object p1
:cond_10
iget v1, p0, Lsq/d$b;->a:I
and-int/lit8 v1, v1, 0x1
if-nez v1, :cond_27
iget v1, p0, Lsq/d$b;->b:I
sub-int/2addr v0, v1
if-ltz v0, :cond_1e
rsub-int/lit8 v0, v0, 0x7
goto :goto_1f
:cond_1e
neg-int v0, v0
:goto_1f
int-to-long v0, v0
sget-object v2, Lorg/threeten/bp/temporal/ChronoUnit;->DAYS:Lorg/threeten/bp/temporal/ChronoUnit;
invoke-interface {p1, v0, v1, v2}, Lsq/a;->b(JLsq/h;)Lsq/a;
move-result-object p1
return-object p1
:cond_27
iget v1, p0, Lsq/d$b;->b:I
sub-int/2addr v1, v0
if-ltz v1, :cond_2f
rsub-int/lit8 v0, v1, 0x7
goto :goto_30
:cond_2f
neg-int v0, v1
:goto_30
int-to-long v0, v0
sget-object v2, Lorg/threeten/bp/temporal/ChronoUnit;->DAYS:Lorg/threeten/bp/temporal/ChronoUnit;
invoke-interface {p1, v0, v1, v2}, Lsq/a;->a(JLsq/h;)Lsq/a;
move-result-object p1
return-object p1
.end method