CachedDateTimeZone$Info.smali
.class final Lorg/joda/time/tz/CachedDateTimeZone$Info;
.super Ljava/lang/Object;
.source "CachedDateTimeZone.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lorg/joda/time/tz/CachedDateTimeZone;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "Info"
.end annotation
# instance fields
.field private iNameKey:Ljava/lang/String;
.field iNextInfo:Lorg/joda/time/tz/CachedDateTimeZone$Info;
.field private iOffset:I
.field public final iPeriodStart:J
.field private iStandardOffset:I
.field public final iZoneRef:Lorg/joda/time/DateTimeZone;
# direct methods
.method constructor <init>(Lorg/joda/time/DateTimeZone;J)V
.registers 5
.line 180
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/high16 v0, -0x80000000
.line 177
iput v0, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iOffset:I
.line 178
iput v0, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iStandardOffset:I
.line 181
iput-wide p2, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iPeriodStart:J
.line 182
iput-object p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iZoneRef:Lorg/joda/time/DateTimeZone;
return-void
.end method
# virtual methods
.method public getNameKey(J)Ljava/lang/String;
.registers 7
.line 186
iget-object v0, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iNextInfo:Lorg/joda/time/tz/CachedDateTimeZone$Info;
if-eqz v0, :cond_10
iget-wide v1, v0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iPeriodStart:J
cmp-long v3, p1, v1
if-gez v3, :cond_b
goto :goto_10
.line 192
:cond_b
invoke-virtual {v0, p1, p2}, Lorg/joda/time/tz/CachedDateTimeZone$Info;->getNameKey(J)Ljava/lang/String;
move-result-object p1
return-object p1
.line 187
:cond_10
:goto_10
iget-object p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iNameKey:Ljava/lang/String;
if-nez p1, :cond_1e
.line 188
iget-object p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iZoneRef:Lorg/joda/time/DateTimeZone;
iget-wide v0, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iPeriodStart:J
invoke-virtual {p1, v0, v1}, Lorg/joda/time/DateTimeZone;->getNameKey(J)Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iNameKey:Ljava/lang/String;
.line 190
:cond_1e
iget-object p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iNameKey:Ljava/lang/String;
return-object p1
.end method
.method public getOffset(J)I
.registers 7
.line 196
iget-object v0, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iNextInfo:Lorg/joda/time/tz/CachedDateTimeZone$Info;
if-eqz v0, :cond_10
iget-wide v1, v0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iPeriodStart:J
cmp-long v3, p1, v1
if-gez v3, :cond_b
goto :goto_10
.line 202
:cond_b
invoke-virtual {v0, p1, p2}, Lorg/joda/time/tz/CachedDateTimeZone$Info;->getOffset(J)I
move-result p1
return p1
.line 197
:cond_10
:goto_10
iget p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iOffset:I
const/high16 p2, -0x80000000
if-ne p1, p2, :cond_20
.line 198
iget-object p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iZoneRef:Lorg/joda/time/DateTimeZone;
iget-wide v0, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iPeriodStart:J
invoke-virtual {p1, v0, v1}, Lorg/joda/time/DateTimeZone;->getOffset(J)I
move-result p1
iput p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iOffset:I
.line 200
:cond_20
iget p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iOffset:I
return p1
.end method
.method public getStandardOffset(J)I
.registers 7
.line 206
iget-object v0, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iNextInfo:Lorg/joda/time/tz/CachedDateTimeZone$Info;
if-eqz v0, :cond_10
iget-wide v1, v0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iPeriodStart:J
cmp-long v3, p1, v1
if-gez v3, :cond_b
goto :goto_10
.line 212
:cond_b
invoke-virtual {v0, p1, p2}, Lorg/joda/time/tz/CachedDateTimeZone$Info;->getStandardOffset(J)I
move-result p1
return p1
.line 207
:cond_10
:goto_10
iget p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iStandardOffset:I
const/high16 p2, -0x80000000
if-ne p1, p2, :cond_20
.line 208
iget-object p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iZoneRef:Lorg/joda/time/DateTimeZone;
iget-wide v0, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iPeriodStart:J
invoke-virtual {p1, v0, v1}, Lorg/joda/time/DateTimeZone;->getStandardOffset(J)I
move-result p1
iput p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iStandardOffset:I
.line 210
:cond_20
iget p1, p0, Lorg/joda/time/tz/CachedDateTimeZone$Info;->iStandardOffset:I
return p1
.end method