2461 lines
62 KiB
Smali
2461 lines
62 KiB
Smali
.class public final Lkotlin/time/DurationKt;
|
|
.super Ljava/lang/Object;
|
|
.source "Duration.kt"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/SourceDebugExtension;
|
|
value = "SMAP\nDuration.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Duration.kt\nkotlin/time/DurationKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,1484:1\n1436#1,6:1486\n1439#1,3:1492\n1436#1,6:1495\n1436#1,6:1501\n1439#1,3:1510\n1#2:1485\n1726#3,3:1507\n*S KotlinDebug\n*F\n+ 1 Duration.kt\nkotlin/time/DurationKt\n*L\n1360#1:1486,6\n1394#1:1492,3\n1397#1:1495,6\n1400#1:1501,6\n1436#1:1510,3\n1425#1:1507,3\n*E\n"
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000>\n\u0000\n\u0002\u0010\t\n\u0002\u0008\u0003\n\u0002\u0010\u0008\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0006\n\u0002\u0008*\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0002\u0010\u000c\n\u0002\u0008\t\n\u0002\u0018\u0002\n\u0002\u0008\u0004\u001a \u0010#\u001a\u00020\u00072\u0006\u0010$\u001a\u00020\u00012\u0006\u0010%\u001a\u00020\u0005H\u0002\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010&\u001a\u0018\u0010\'\u001a\u00020\u00072\u0006\u0010(\u001a\u00020\u0001H\u0002\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0010\u001a\u0018\u0010)\u001a\u00020\u00072\u0006\u0010*\u001a\u00020\u0001H\u0002\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0010\u001a\u0018\u0010+\u001a\u00020\u00072\u0006\u0010,\u001a\u00020\u0001H\u0002\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0010\u001a\u0018\u0010-\u001a\u00020\u00072\u0006\u0010.\u001a\u00020\u0001H\u0002\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0010\u001a\u0010\u0010/\u001a\u00020\u00012\u0006\u0010*\u001a\u00020\u0001H\u0002\u001a\u0010\u00100\u001a\u00020\u00012\u0006\u0010.\u001a\u00020\u0001H\u0002\u001a \u00101\u001a\u00020\u00072\u0006\u00102\u001a\u0002032\u0006\u00104\u001a\u000205H\u0002\u00f8\u0001\u0000\u00a2\u0006\u0002\u00106\u001a\u0010\u00107\u001a\u00020\u00012\u0006\u00102\u001a\u000203H\u0002\u001a)\u00108\u001a\u00020\u0005*\u0002032\u0006\u00109\u001a\u00020\u00052\u0012\u0010:\u001a\u000e\u0012\u0004\u0012\u00020<\u0012\u0004\u0012\u0002050;H\u0082\u0008\u001a)\u0010=\u001a\u000203*\u0002032\u0006\u00109\u001a\u00020\u00052\u0012\u0010:\u001a\u000e\u0012\u0004\u0012\u00020<\u0012\u0004\u0012\u0002050;H\u0082\u0008\u001a\u001f\u0010>\u001a\u00020\u0007*\u00020\u00082\u0006\u0010?\u001a\u00020\u0007H\u0087\n\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008@\u0010A\u001a\u001f\u0010>\u001a\u00020\u0007*\u00020\u00052\u0006\u0010?\u001a\u00020\u0007H\u0087\n\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008B\u0010C\u001a\u001c\u0010D\u001a\u00020\u0007*\u00020\u00082\u0006\u0010E\u001a\u00020FH\u0007\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010G\u001a\u001c\u0010D\u001a\u00020\u0007*\u00020\u00052\u0006\u0010E\u001a\u00020FH\u0007\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010H\u001a\u001c\u0010D\u001a\u00020\u0007*\u00020\u00012\u0006\u0010E\u001a\u00020FH\u0007\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010I\"\u000e\u0010\u0000\u001a\u00020\u0001X\u0080T\u00a2\u0006\u0002\n\u0000\"\u000e\u0010\u0002\u001a\u00020\u0001X\u0080T\u00a2\u0006\u0002\n\u0000\"\u000e\u0010\u0003\u001a\u00020\u0001X\u0082T\u00a2\u0006\u0002\n\u0000\"\u000e\u0010\u0004\u001a\u00020\u0005X\u0080T\u00a2\u0006\u0002\n\u0000\"!\u0010\u0006\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\t\u0010\n\u001a\u0004\u0008\u000b\u0010\u000c\"!\u0010\u0006\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\t\u0010\r\u001a\u0004\u0008\u000b\u0010\u000e\"!\u0010\u0006\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\t\u0010\u000f\u001a\u0004\u0008\u000b\u0010\u0010\"!\u0010\u0011\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u0012\u0010\n\u001a\u0004\u0008\u0013\u0010\u000c\"!\u0010\u0011\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u0012\u0010\r\u001a\u0004\u0008\u0013\u0010\u000e\"!\u0010\u0011\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u0012\u0010\u000f\u001a\u0004\u0008\u0013\u0010\u0010\"!\u0010\u0014\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u0015\u0010\n\u001a\u0004\u0008\u0016\u0010\u000c\"!\u0010\u0014\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u0015\u0010\r\u001a\u0004\u0008\u0016\u0010\u000e\"!\u0010\u0014\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u0015\u0010\u000f\u001a\u0004\u0008\u0016\u0010\u0010\"!\u0010\u0017\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u0018\u0010\n\u001a\u0004\u0008\u0019\u0010\u000c\"!\u0010\u0017\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u0018\u0010\r\u001a\u0004\u0008\u0019\u0010\u000e\"!\u0010\u0017\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u0018\u0010\u000f\u001a\u0004\u0008\u0019\u0010\u0010\"!\u0010\u001a\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u001b\u0010\n\u001a\u0004\u0008\u001c\u0010\u000c\"!\u0010\u001a\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u001b\u0010\r\u001a\u0004\u0008\u001c\u0010\u000e\"!\u0010\u001a\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u001b\u0010\u000f\u001a\u0004\u0008\u001c\u0010\u0010\"!\u0010\u001d\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u001e\u0010\n\u001a\u0004\u0008\u001f\u0010\u000c\"!\u0010\u001d\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u001e\u0010\r\u001a\u0004\u0008\u001f\u0010\u000e\"!\u0010\u001d\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008\u001e\u0010\u000f\u001a\u0004\u0008\u001f\u0010\u0010\"!\u0010 \u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008!\u0010\n\u001a\u0004\u0008\"\u0010\u000c\"!\u0010 \u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008!\u0010\r\u001a\u0004\u0008\"\u0010\u000e\"!\u0010 \u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00f8\u0001\u0000\u00a2\u0006\u000c\u0012\u0004\u0008!\u0010\u000f\u001a\u0004\u0008\"\u0010\u0010\u0082\u0002\u0004\n\u0002\u0008\u0019\u00a8\u0006J"
|
|
}
|
|
d2 = {
|
|
"MAX_MILLIS",
|
|
"",
|
|
"MAX_NANOS",
|
|
"MAX_NANOS_IN_MILLIS",
|
|
"NANOS_IN_MILLIS",
|
|
"",
|
|
"days",
|
|
"Lkotlin/time/Duration;",
|
|
"",
|
|
"getDays$annotations",
|
|
"(D)V",
|
|
"getDays",
|
|
"(D)J",
|
|
"(I)V",
|
|
"(I)J",
|
|
"(J)V",
|
|
"(J)J",
|
|
"hours",
|
|
"getHours$annotations",
|
|
"getHours",
|
|
"microseconds",
|
|
"getMicroseconds$annotations",
|
|
"getMicroseconds",
|
|
"milliseconds",
|
|
"getMilliseconds$annotations",
|
|
"getMilliseconds",
|
|
"minutes",
|
|
"getMinutes$annotations",
|
|
"getMinutes",
|
|
"nanoseconds",
|
|
"getNanoseconds$annotations",
|
|
"getNanoseconds",
|
|
"seconds",
|
|
"getSeconds$annotations",
|
|
"getSeconds",
|
|
"durationOf",
|
|
"normalValue",
|
|
"unitDiscriminator",
|
|
"(JI)J",
|
|
"durationOfMillis",
|
|
"normalMillis",
|
|
"durationOfMillisNormalized",
|
|
"millis",
|
|
"durationOfNanos",
|
|
"normalNanos",
|
|
"durationOfNanosNormalized",
|
|
"nanos",
|
|
"millisToNanos",
|
|
"nanosToMillis",
|
|
"parseDuration",
|
|
"value",
|
|
"",
|
|
"strictIso",
|
|
"",
|
|
"(Ljava/lang/String;Z)J",
|
|
"parseOverLongIsoComponent",
|
|
"skipWhile",
|
|
"startIndex",
|
|
"predicate",
|
|
"Lkotlin/Function1;",
|
|
"",
|
|
"substringWhile",
|
|
"times",
|
|
"duration",
|
|
"times-kIfJnKk",
|
|
"(DJ)J",
|
|
"times-mvk6XK0",
|
|
"(IJ)J",
|
|
"toDuration",
|
|
"unit",
|
|
"Lkotlin/time/DurationUnit;",
|
|
"(DLkotlin/time/DurationUnit;)J",
|
|
"(ILkotlin/time/DurationUnit;)J",
|
|
"(JLkotlin/time/DurationUnit;)J",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x2
|
|
mv = {
|
|
0x1,
|
|
0x8,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final MAX_MILLIS:J = 0x3fffffffffffffffL
|
|
|
|
.field public static final MAX_NANOS:J = 0x3ffffffffffa14bfL
|
|
|
|
.field private static final MAX_NANOS_IN_MILLIS:J = 0x431bde82d7aL
|
|
|
|
.field public static final NANOS_IN_MILLIS:I = 0xf4240
|
|
|
|
|
|
# direct methods
|
|
.method public static final synthetic access$durationOf(JI)J
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1, p2}, Lkotlin/time/DurationKt;->durationOf(JI)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$durationOfMillis(J)J
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfMillis(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$durationOfMillisNormalized(J)J
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfMillisNormalized(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$durationOfNanos(J)J
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfNanos(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$durationOfNanosNormalized(J)J
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfNanosNormalized(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$millisToNanos(J)J
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->millisToNanos(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$nanosToMillis(J)J
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->nanosToMillis(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$parseDuration(Ljava/lang/String;Z)J
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->parseDuration(Ljava/lang/String;Z)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final durationOf(JI)J
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
shl-long/2addr p0, v0
|
|
|
|
int-to-long v0, p2
|
|
|
|
add-long/2addr p0, v0
|
|
|
|
.line 1465
|
|
invoke-static {p0, p1}, Lkotlin/time/Duration;->constructor-impl(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final durationOfMillis(J)J
|
|
.locals 2
|
|
|
|
const/4 v0, 0x1
|
|
|
|
shl-long/2addr p0, v0
|
|
|
|
const-wide/16 v0, 0x1
|
|
|
|
add-long/2addr p0, v0
|
|
|
|
.line 1464
|
|
invoke-static {p0, p1}, Lkotlin/time/Duration;->constructor-impl(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final durationOfMillisNormalized(J)J
|
|
.locals 6
|
|
|
|
.line 1474
|
|
new-instance v0, Lkotlin/ranges/LongRange;
|
|
|
|
const-wide v1, -0x431bde82d7aL
|
|
|
|
const-wide v3, 0x431bde82d7aL
|
|
|
|
invoke-direct {v0, v1, v2, v3, v4}, Lkotlin/ranges/LongRange;-><init>(JJ)V
|
|
|
|
invoke-virtual {v0, p0, p1}, Lkotlin/ranges/LongRange;->contains(J)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1475
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->millisToNanos(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfNanos(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide v2, -0x3fffffffffffffffL # -2.0000000000000004
|
|
|
|
const-wide v4, 0x3fffffffffffffffL # 1.9999999999999998
|
|
|
|
move-wide v0, p0
|
|
|
|
.line 1477
|
|
invoke-static/range {v0 .. v5}, Lkotlin/ranges/RangesKt;->coerceIn(JJJ)J
|
|
|
|
move-result-wide p0
|
|
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfMillis(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
:goto_0
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final durationOfNanos(J)J
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
shl-long/2addr p0, v0
|
|
|
|
.line 1463
|
|
invoke-static {p0, p1}, Lkotlin/time/Duration;->constructor-impl(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final durationOfNanosNormalized(J)J
|
|
.locals 5
|
|
|
|
.line 1467
|
|
new-instance v0, Lkotlin/ranges/LongRange;
|
|
|
|
const-wide v1, -0x3ffffffffffa14bfL # -2.0000000001722644
|
|
|
|
const-wide v3, 0x3ffffffffffa14bfL # 1.9999999999138678
|
|
|
|
invoke-direct {v0, v1, v2, v3, v4}, Lkotlin/ranges/LongRange;-><init>(JJ)V
|
|
|
|
invoke-virtual {v0, p0, p1}, Lkotlin/ranges/LongRange;->contains(J)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1468
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfNanos(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
goto :goto_0
|
|
|
|
.line 1470
|
|
:cond_0
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->nanosToMillis(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfMillis(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
:goto_0
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final getDays(D)J
|
|
.locals 1
|
|
|
|
.line 1312
|
|
sget-object v0, Lkotlin/time/DurationUnit;->DAYS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(DLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final getDays(I)J
|
|
.locals 2
|
|
|
|
.line 1294
|
|
sget-object v0, Lkotlin/time/DurationUnit;->DAYS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, v0}, Lkotlin/time/DurationKt;->toDuration(ILkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public static final getDays(J)J
|
|
.locals 1
|
|
|
|
.line 1301
|
|
sget-object v0, Lkotlin/time/DurationUnit;->DAYS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static synthetic getDays$annotations(D)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Double.days\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.days"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.days"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getDays$annotations(I)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Int.days\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.days"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.days"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getDays$annotations(J)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Long.days\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.days"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.days"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final getHours(D)J
|
|
.locals 1
|
|
|
|
.line 1286
|
|
sget-object v0, Lkotlin/time/DurationUnit;->HOURS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(DLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final getHours(I)J
|
|
.locals 2
|
|
|
|
.line 1268
|
|
sget-object v0, Lkotlin/time/DurationUnit;->HOURS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, v0}, Lkotlin/time/DurationKt;->toDuration(ILkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public static final getHours(J)J
|
|
.locals 1
|
|
|
|
.line 1275
|
|
sget-object v0, Lkotlin/time/DurationUnit;->HOURS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static synthetic getHours$annotations(D)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Double.hours\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.hours"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.hours"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getHours$annotations(I)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Int.hours\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.hours"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.hours"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getHours$annotations(J)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Long.hours\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.hours"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.hours"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final getMicroseconds(D)J
|
|
.locals 1
|
|
|
|
.line 1182
|
|
sget-object v0, Lkotlin/time/DurationUnit;->MICROSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(DLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final getMicroseconds(I)J
|
|
.locals 2
|
|
|
|
.line 1164
|
|
sget-object v0, Lkotlin/time/DurationUnit;->MICROSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, v0}, Lkotlin/time/DurationKt;->toDuration(ILkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public static final getMicroseconds(J)J
|
|
.locals 1
|
|
|
|
.line 1171
|
|
sget-object v0, Lkotlin/time/DurationUnit;->MICROSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static synthetic getMicroseconds$annotations(D)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Double.microseconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.microseconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.microseconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getMicroseconds$annotations(I)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Int.microseconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.microseconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.microseconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getMicroseconds$annotations(J)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Long.microseconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.microseconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.microseconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final getMilliseconds(D)J
|
|
.locals 1
|
|
|
|
.line 1208
|
|
sget-object v0, Lkotlin/time/DurationUnit;->MILLISECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(DLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final getMilliseconds(I)J
|
|
.locals 2
|
|
|
|
.line 1190
|
|
sget-object v0, Lkotlin/time/DurationUnit;->MILLISECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, v0}, Lkotlin/time/DurationKt;->toDuration(ILkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public static final getMilliseconds(J)J
|
|
.locals 1
|
|
|
|
.line 1197
|
|
sget-object v0, Lkotlin/time/DurationUnit;->MILLISECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static synthetic getMilliseconds$annotations(D)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Double.milliseconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.milliseconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.milliseconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getMilliseconds$annotations(I)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Int.milliseconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.milliseconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.milliseconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getMilliseconds$annotations(J)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Long.milliseconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.milliseconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.milliseconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final getMinutes(D)J
|
|
.locals 1
|
|
|
|
.line 1260
|
|
sget-object v0, Lkotlin/time/DurationUnit;->MINUTES:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(DLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final getMinutes(I)J
|
|
.locals 2
|
|
|
|
.line 1242
|
|
sget-object v0, Lkotlin/time/DurationUnit;->MINUTES:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, v0}, Lkotlin/time/DurationKt;->toDuration(ILkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public static final getMinutes(J)J
|
|
.locals 1
|
|
|
|
.line 1249
|
|
sget-object v0, Lkotlin/time/DurationUnit;->MINUTES:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static synthetic getMinutes$annotations(D)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Double.minutes\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.minutes"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.minutes"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getMinutes$annotations(I)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Int.minutes\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.minutes"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.minutes"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getMinutes$annotations(J)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Long.minutes\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.minutes"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.minutes"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final getNanoseconds(D)J
|
|
.locals 1
|
|
|
|
.line 1156
|
|
sget-object v0, Lkotlin/time/DurationUnit;->NANOSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(DLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final getNanoseconds(I)J
|
|
.locals 2
|
|
|
|
.line 1138
|
|
sget-object v0, Lkotlin/time/DurationUnit;->NANOSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, v0}, Lkotlin/time/DurationKt;->toDuration(ILkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public static final getNanoseconds(J)J
|
|
.locals 1
|
|
|
|
.line 1145
|
|
sget-object v0, Lkotlin/time/DurationUnit;->NANOSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static synthetic getNanoseconds$annotations(D)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Double.nanoseconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.nanoseconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.nanoseconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getNanoseconds$annotations(I)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Int.nanoseconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.nanoseconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.nanoseconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getNanoseconds$annotations(J)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Long.nanoseconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.nanoseconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.nanoseconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final getSeconds(D)J
|
|
.locals 1
|
|
|
|
.line 1234
|
|
sget-object v0, Lkotlin/time/DurationUnit;->SECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(DLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final getSeconds(I)J
|
|
.locals 2
|
|
|
|
.line 1216
|
|
sget-object v0, Lkotlin/time/DurationUnit;->SECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, v0}, Lkotlin/time/DurationKt;->toDuration(ILkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public static final getSeconds(J)J
|
|
.locals 1
|
|
|
|
.line 1223
|
|
sget-object v0, Lkotlin/time/DurationUnit;->SECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, v0}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static synthetic getSeconds$annotations(D)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Double.seconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.seconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.seconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getSeconds$annotations(I)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Int.seconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.seconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.seconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic getSeconds$annotations(J)V
|
|
.locals 0
|
|
.annotation runtime Lkotlin/Deprecated;
|
|
message = "Use \'Long.seconds\' extension property from Duration.Companion instead."
|
|
replaceWith = .subannotation Lkotlin/ReplaceWith;
|
|
expression = "this.seconds"
|
|
imports = {
|
|
"kotlin.time.Duration.Companion.seconds"
|
|
}
|
|
.end subannotation
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/DeprecatedSinceKotlin;
|
|
errorSince = "1.8"
|
|
warningSince = "1.5"
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final millisToNanos(J)J
|
|
.locals 2
|
|
|
|
const v0, 0xf4240
|
|
|
|
int-to-long v0, v0
|
|
|
|
mul-long/2addr p0, v0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final nanosToMillis(J)J
|
|
.locals 2
|
|
|
|
const v0, 0xf4240
|
|
|
|
int-to-long v0, v0
|
|
|
|
.line 1460
|
|
div-long/2addr p0, v0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final parseDuration(Ljava/lang/String;Z)J
|
|
.locals 27
|
|
|
|
move-object/from16 v6, p0
|
|
|
|
.line 1336
|
|
invoke-virtual/range {p0 .. p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_22
|
|
|
|
.line 1339
|
|
sget-object v0, Lkotlin/time/Duration;->Companion:Lkotlin/time/Duration$Companion;
|
|
|
|
invoke-virtual {v0}, Lkotlin/time/Duration$Companion;->getZERO-UwyO8pc()J
|
|
|
|
move-result-wide v8
|
|
|
|
const/4 v10, 0x0
|
|
|
|
.line 1341
|
|
invoke-virtual {v6, v10}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
const/16 v1, 0x2b
|
|
|
|
const/16 v2, 0x2d
|
|
|
|
const/4 v11, 0x1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-ne v0, v2, :cond_1
|
|
|
|
:goto_0
|
|
move v12, v11
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
move v12, v10
|
|
|
|
:goto_1
|
|
if-lez v12, :cond_2
|
|
|
|
move v13, v11
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
move v13, v10
|
|
|
|
:goto_2
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v14, 0x0
|
|
|
|
if-eqz v13, :cond_3
|
|
|
|
.line 1345
|
|
move-object v1, v6
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
invoke-static {v1, v2, v10, v0, v14}, Lkotlin/text/StringsKt;->startsWith$default(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_3
|
|
|
|
move v15, v11
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
move v15, v10
|
|
|
|
.line 1347
|
|
:goto_3
|
|
const-string v5, "No components"
|
|
|
|
if-le v7, v12, :cond_21
|
|
|
|
.line 1349
|
|
invoke-virtual {v6, v12}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v1
|
|
|
|
const/16 v2, 0x50
|
|
|
|
const-string v4, "this as java.lang.String).substring(startIndex)"
|
|
|
|
const-string v3, "Unexpected order of duration components"
|
|
|
|
move-object/from16 v16, v5
|
|
|
|
const/16 v5, 0x39
|
|
|
|
const/16 v0, 0x30
|
|
|
|
const-string v10, "this as java.lang.String\u2026ing(startIndex, endIndex)"
|
|
|
|
const-string v14, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
if-ne v1, v2, :cond_10
|
|
|
|
add-int/2addr v12, v11
|
|
|
|
if-eq v12, v7, :cond_f
|
|
|
|
const/4 v1, 0x0
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_4
|
|
if-ge v12, v7, :cond_e
|
|
|
|
.line 1355
|
|
invoke-virtual {v6, v12}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v13
|
|
|
|
const/16 v11, 0x54
|
|
|
|
if-ne v13, v11, :cond_5
|
|
|
|
if-nez v1, :cond_4
|
|
|
|
add-int/lit8 v12, v12, 0x1
|
|
|
|
if-eq v12, v7, :cond_4
|
|
|
|
const/4 v1, 0x1
|
|
|
|
:goto_5
|
|
const/4 v11, 0x1
|
|
|
|
goto :goto_4
|
|
|
|
.line 1356
|
|
:cond_4
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw v0
|
|
|
|
:cond_5
|
|
move v11, v12
|
|
|
|
.line 1490
|
|
:goto_6
|
|
invoke-virtual/range {p0 .. p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v13
|
|
|
|
if-ge v11, v13, :cond_7
|
|
|
|
invoke-virtual {v6, v11}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v13
|
|
|
|
move/from16 v18, v15
|
|
|
|
.line 1360
|
|
new-instance v15, Lkotlin/ranges/CharRange;
|
|
|
|
invoke-direct {v15, v0, v5}, Lkotlin/ranges/CharRange;-><init>(CC)V
|
|
|
|
invoke-virtual {v15, v13}, Lkotlin/ranges/CharRange;->contains(C)Z
|
|
|
|
move-result v15
|
|
|
|
if-nez v15, :cond_6
|
|
|
|
const-string v15, "+-."
|
|
|
|
check-cast v15, Ljava/lang/CharSequence;
|
|
|
|
move/from16 v17, v7
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
invoke-static {v15, v13, v7, v0, v5}, Lkotlin/text/StringsKt;->contains$default(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z
|
|
|
|
move-result v13
|
|
|
|
if-eqz v13, :cond_8
|
|
|
|
goto :goto_7
|
|
|
|
:cond_6
|
|
move/from16 v17, v7
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v5, 0x0
|
|
|
|
:goto_7
|
|
add-int/lit8 v11, v11, 0x1
|
|
|
|
move/from16 v7, v17
|
|
|
|
move/from16 v15, v18
|
|
|
|
const/16 v0, 0x30
|
|
|
|
const/16 v5, 0x39
|
|
|
|
goto :goto_6
|
|
|
|
:cond_7
|
|
move/from16 v17, v7
|
|
|
|
move/from16 v18, v15
|
|
|
|
const/4 v0, 0x2
|
|
|
|
const/4 v5, 0x0
|
|
|
|
.line 1486
|
|
:cond_8
|
|
invoke-static {v6, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v6, v12, v11}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v7, v10}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1361
|
|
move-object/from16 v20, v7
|
|
|
|
check-cast v20, Ljava/lang/CharSequence;
|
|
|
|
invoke-interface/range {v20 .. v20}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v11
|
|
|
|
if-eqz v11, :cond_d
|
|
|
|
.line 1362
|
|
invoke-virtual {v7}, Ljava/lang/String;->length()I
|
|
|
|
move-result v11
|
|
|
|
add-int/2addr v12, v11
|
|
|
|
.line 1363
|
|
move-object v11, v6
|
|
|
|
check-cast v11, Ljava/lang/CharSequence;
|
|
|
|
if-ltz v12, :cond_c
|
|
|
|
invoke-static {v11}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
|
|
|
move-result v13
|
|
|
|
if-gt v12, v13, :cond_c
|
|
|
|
invoke-interface {v11, v12}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
move-result v11
|
|
|
|
add-int/lit8 v12, v12, 0x1
|
|
|
|
.line 1365
|
|
invoke-static {v11, v1}, Lkotlin/time/DurationUnitKt;->durationUnitByIsoChar(CZ)Lkotlin/time/DurationUnit;
|
|
|
|
move-result-object v11
|
|
|
|
if-eqz v2, :cond_a
|
|
|
|
.line 1366
|
|
move-object v13, v11
|
|
|
|
check-cast v13, Ljava/lang/Enum;
|
|
|
|
invoke-virtual {v2, v13}, Lkotlin/time/DurationUnit;->compareTo(Ljava/lang/Enum;)I
|
|
|
|
move-result v2
|
|
|
|
if-lez v2, :cond_9
|
|
|
|
goto :goto_8
|
|
|
|
:cond_9
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0, v3}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_a
|
|
:goto_8
|
|
const/16 v24, 0x6
|
|
|
|
const/16 v25, 0x0
|
|
|
|
const/16 v21, 0x2e
|
|
|
|
const/16 v22, 0x0
|
|
|
|
const/16 v23, 0x0
|
|
|
|
.line 1368
|
|
invoke-static/range {v20 .. v25}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
|
|
|
move-result v2
|
|
|
|
.line 1369
|
|
sget-object v13, Lkotlin/time/DurationUnit;->SECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
if-ne v11, v13, :cond_b
|
|
|
|
if-lez v2, :cond_b
|
|
|
|
.line 1370
|
|
invoke-static {v7, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v13, 0x0
|
|
|
|
invoke-virtual {v7, v13, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v15
|
|
|
|
invoke-static {v15, v10}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
move/from16 p1, v1
|
|
|
|
.line 1371
|
|
invoke-static {v15}, Lkotlin/time/DurationKt;->parseOverLongIsoComponent(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1, v11}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v8, v9, v0, v1}, Lkotlin/time/Duration;->plus-LRDsOJo(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 1372
|
|
invoke-static {v7, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v7, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2, v4}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {v2}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D
|
|
|
|
move-result-wide v7
|
|
|
|
invoke-static {v7, v8, v11}, Lkotlin/time/DurationKt;->toDuration(DLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v7
|
|
|
|
invoke-static {v0, v1, v7, v8}, Lkotlin/time/Duration;->plus-LRDsOJo(JJ)J
|
|
|
|
move-result-wide v8
|
|
|
|
goto :goto_9
|
|
|
|
:cond_b
|
|
move/from16 p1, v1
|
|
|
|
.line 1374
|
|
invoke-static {v7}, Lkotlin/time/DurationKt;->parseOverLongIsoComponent(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v0, v1, v11}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-static {v8, v9, v0, v1}, Lkotlin/time/Duration;->plus-LRDsOJo(JJ)J
|
|
|
|
move-result-wide v8
|
|
|
|
:goto_9
|
|
move/from16 v1, p1
|
|
|
|
move-object v2, v11
|
|
|
|
move/from16 v7, v17
|
|
|
|
move/from16 v15, v18
|
|
|
|
const/16 v0, 0x30
|
|
|
|
const/16 v5, 0x39
|
|
|
|
goto/16 :goto_5
|
|
|
|
.line 1363
|
|
:cond_c
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
const-string v2, "Missing unit for value "
|
|
|
|
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v1, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 1361
|
|
:cond_d
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw v0
|
|
|
|
:cond_e
|
|
move/from16 v18, v15
|
|
|
|
goto/16 :goto_11
|
|
|
|
.line 1350
|
|
:cond_f
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw v0
|
|
|
|
:cond_10
|
|
move/from16 v17, v7
|
|
|
|
move/from16 v18, v15
|
|
|
|
const/4 v5, 0x0
|
|
|
|
if-nez p1, :cond_20
|
|
|
|
sub-int v7, v17, v12
|
|
|
|
const/16 v0, 0x8
|
|
|
|
.line 1380
|
|
invoke-static {v7, v0}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result v7
|
|
|
|
const/4 v11, 0x1
|
|
|
|
const-string v2, "Infinity"
|
|
|
|
const/4 v15, 0x0
|
|
|
|
const/16 v1, 0x30
|
|
|
|
move-object/from16 v0, p0
|
|
|
|
move v1, v12
|
|
|
|
move-object/from16 v26, v3
|
|
|
|
move v3, v15
|
|
|
|
move-object v15, v4
|
|
|
|
move v4, v7
|
|
|
|
move-object/from16 v7, v16
|
|
|
|
move-object/from16 v16, v5
|
|
|
|
move v5, v11
|
|
|
|
invoke-static/range {v0 .. v5}, Lkotlin/text/StringsKt;->regionMatches(Ljava/lang/String;ILjava/lang/String;IIZ)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_11
|
|
|
|
.line 1381
|
|
sget-object v0, Lkotlin/time/Duration;->Companion:Lkotlin/time/Duration$Companion;
|
|
|
|
invoke-virtual {v0}, Lkotlin/time/Duration$Companion;->getINFINITE-UwyO8pc()J
|
|
|
|
move-result-wide v8
|
|
|
|
goto/16 :goto_11
|
|
|
|
:cond_11
|
|
xor-int/lit8 v0, v13, 0x1
|
|
|
|
if-eqz v13, :cond_13
|
|
|
|
.line 1388
|
|
invoke-virtual {v6, v12}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v1
|
|
|
|
const/16 v2, 0x28
|
|
|
|
if-ne v1, v2, :cond_13
|
|
|
|
move-object v1, v6
|
|
|
|
check-cast v1, Ljava/lang/CharSequence;
|
|
|
|
invoke-static {v1}, Lkotlin/text/StringsKt;->last(Ljava/lang/CharSequence;)C
|
|
|
|
move-result v1
|
|
|
|
const/16 v2, 0x29
|
|
|
|
if-ne v1, v2, :cond_13
|
|
|
|
add-int/lit8 v12, v12, 0x1
|
|
|
|
add-int/lit8 v0, v17, -0x1
|
|
|
|
if-eq v12, v0, :cond_12
|
|
|
|
move v7, v0
|
|
|
|
move-object/from16 v2, v16
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_a
|
|
|
|
.line 1390
|
|
:cond_12
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0, v7}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_13
|
|
move-object/from16 v2, v16
|
|
|
|
move/from16 v7, v17
|
|
|
|
:goto_a
|
|
const/4 v1, 0x0
|
|
|
|
:goto_b
|
|
if-ge v12, v7, :cond_1e
|
|
|
|
if-eqz v1, :cond_14
|
|
|
|
if-eqz v0, :cond_14
|
|
|
|
.line 1493
|
|
:goto_c
|
|
invoke-virtual/range {p0 .. p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-ge v12, v1, :cond_14
|
|
|
|
invoke-virtual {v6, v12}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v1
|
|
|
|
const/16 v3, 0x20
|
|
|
|
if-ne v1, v3, :cond_14
|
|
|
|
add-int/lit8 v12, v12, 0x1
|
|
|
|
goto :goto_c
|
|
|
|
:cond_14
|
|
move v1, v12
|
|
|
|
.line 1499
|
|
:goto_d
|
|
invoke-virtual/range {p0 .. p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v3
|
|
|
|
if-ge v1, v3, :cond_16
|
|
|
|
invoke-virtual {v6, v1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v3
|
|
|
|
.line 1397
|
|
new-instance v4, Lkotlin/ranges/CharRange;
|
|
|
|
const/16 v5, 0x39
|
|
|
|
const/16 v11, 0x30
|
|
|
|
invoke-direct {v4, v11, v5}, Lkotlin/ranges/CharRange;-><init>(CC)V
|
|
|
|
invoke-virtual {v4, v3}, Lkotlin/ranges/CharRange;->contains(C)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_15
|
|
|
|
const/16 v4, 0x2e
|
|
|
|
if-ne v3, v4, :cond_17
|
|
|
|
:cond_15
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_d
|
|
|
|
:cond_16
|
|
const/16 v5, 0x39
|
|
|
|
const/16 v11, 0x30
|
|
|
|
.line 1495
|
|
:cond_17
|
|
invoke-static {v6, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v6, v12, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1, v10}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1398
|
|
move-object/from16 v19, v1
|
|
|
|
check-cast v19, Ljava/lang/CharSequence;
|
|
|
|
invoke-interface/range {v19 .. v19}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1d
|
|
|
|
.line 1399
|
|
invoke-virtual {v1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v3
|
|
|
|
add-int/2addr v12, v3
|
|
|
|
move v3, v12
|
|
|
|
.line 1505
|
|
:goto_e
|
|
invoke-virtual/range {p0 .. p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v4
|
|
|
|
if-ge v3, v4, :cond_18
|
|
|
|
invoke-virtual {v6, v3}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v4
|
|
|
|
.line 1400
|
|
new-instance v13, Lkotlin/ranges/CharRange;
|
|
|
|
const/16 v5, 0x61
|
|
|
|
const/16 v11, 0x7a
|
|
|
|
invoke-direct {v13, v5, v11}, Lkotlin/ranges/CharRange;-><init>(CC)V
|
|
|
|
invoke-virtual {v13, v4}, Lkotlin/ranges/CharRange;->contains(C)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_18
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
const/16 v5, 0x39
|
|
|
|
const/16 v11, 0x30
|
|
|
|
goto :goto_e
|
|
|
|
.line 1501
|
|
:cond_18
|
|
invoke-static {v6, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v6, v12, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v3, v10}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1401
|
|
invoke-virtual {v3}, Ljava/lang/String;->length()I
|
|
|
|
move-result v4
|
|
|
|
add-int/2addr v12, v4
|
|
|
|
.line 1402
|
|
invoke-static {v3}, Lkotlin/time/DurationUnitKt;->durationUnitByShortName(Ljava/lang/String;)Lkotlin/time/DurationUnit;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v2, :cond_1a
|
|
|
|
.line 1403
|
|
move-object v4, v3
|
|
|
|
check-cast v4, Ljava/lang/Enum;
|
|
|
|
invoke-virtual {v2, v4}, Lkotlin/time/DurationUnit;->compareTo(Ljava/lang/Enum;)I
|
|
|
|
move-result v2
|
|
|
|
if-lez v2, :cond_19
|
|
|
|
goto :goto_f
|
|
|
|
:cond_19
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
move-object/from16 v2, v26
|
|
|
|
invoke-direct {v0, v2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_1a
|
|
:goto_f
|
|
move-object/from16 v2, v26
|
|
|
|
const/16 v23, 0x6
|
|
|
|
const/16 v24, 0x0
|
|
|
|
const/16 v20, 0x2e
|
|
|
|
const/16 v21, 0x0
|
|
|
|
const/16 v22, 0x0
|
|
|
|
.line 1405
|
|
invoke-static/range {v19 .. v24}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I
|
|
|
|
move-result v4
|
|
|
|
if-lez v4, :cond_1c
|
|
|
|
.line 1407
|
|
invoke-static {v1, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v5, 0x0
|
|
|
|
invoke-virtual {v1, v5, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object v11
|
|
|
|
invoke-static {v11, v10}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1408
|
|
invoke-static {v11}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v5
|
|
|
|
invoke-static {v5, v6, v3}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v5
|
|
|
|
invoke-static {v8, v9, v5, v6}, Lkotlin/time/Duration;->plus-LRDsOJo(JJ)J
|
|
|
|
move-result-wide v5
|
|
|
|
.line 1409
|
|
invoke-static {v1, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v1, v4}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v1, v15}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-static {v1}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D
|
|
|
|
move-result-wide v8
|
|
|
|
invoke-static {v8, v9, v3}, Lkotlin/time/DurationKt;->toDuration(DLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v8
|
|
|
|
invoke-static {v5, v6, v8, v9}, Lkotlin/time/Duration;->plus-LRDsOJo(JJ)J
|
|
|
|
move-result-wide v8
|
|
|
|
if-lt v12, v7, :cond_1b
|
|
|
|
goto :goto_10
|
|
|
|
.line 1410
|
|
:cond_1b
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v1, "Fractional component must be last"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 1412
|
|
:cond_1c
|
|
invoke-static {v1}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v4
|
|
|
|
invoke-static {v4, v5, v3}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v4
|
|
|
|
invoke-static {v8, v9, v4, v5}, Lkotlin/time/Duration;->plus-LRDsOJo(JJ)J
|
|
|
|
move-result-wide v8
|
|
|
|
:goto_10
|
|
move-object/from16 v6, p0
|
|
|
|
move-object/from16 v26, v2
|
|
|
|
move-object v2, v3
|
|
|
|
const/4 v1, 0x1
|
|
|
|
goto/16 :goto_b
|
|
|
|
.line 1398
|
|
:cond_1d
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw v0
|
|
|
|
:cond_1e
|
|
:goto_11
|
|
if-eqz v18, :cond_1f
|
|
|
|
.line 1417
|
|
invoke-static {v8, v9}, Lkotlin/time/Duration;->unaryMinus-UwyO8pc(J)J
|
|
|
|
move-result-wide v8
|
|
|
|
:cond_1f
|
|
return-wide v8
|
|
|
|
.line 1379
|
|
:cond_20
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0}, Ljava/lang/IllegalArgumentException;-><init>()V
|
|
|
|
throw v0
|
|
|
|
:cond_21
|
|
move-object v7, v5
|
|
|
|
.line 1348
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
invoke-direct {v0, v7}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 1337
|
|
:cond_22
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v1, "The string is empty"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method private static final parseOverLongIsoComponent(Ljava/lang/String;)J
|
|
.locals 9
|
|
|
|
.line 1422
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
const/4 v3, 0x2
|
|
|
|
const/4 v4, 0x0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
.line 1424
|
|
const-string v5, "+-"
|
|
|
|
check-cast v5, Ljava/lang/CharSequence;
|
|
|
|
invoke-virtual {p0, v4}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v6
|
|
|
|
invoke-static {v5, v6, v4, v3, v2}, Lkotlin/text/StringsKt;->contains$default(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_0
|
|
|
|
move v5, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v5, v4
|
|
|
|
:goto_0
|
|
sub-int/2addr v0, v5
|
|
|
|
const/16 v6, 0x10
|
|
|
|
if-le v0, v6, :cond_5
|
|
|
|
.line 1425
|
|
new-instance v0, Lkotlin/ranges/IntRange;
|
|
|
|
move-object v6, p0
|
|
|
|
check-cast v6, Ljava/lang/CharSequence;
|
|
|
|
invoke-static {v6}, Lkotlin/text/StringsKt;->getLastIndex(Ljava/lang/CharSequence;)I
|
|
|
|
move-result v6
|
|
|
|
invoke-direct {v0, v5, v6}, Lkotlin/ranges/IntRange;-><init>(II)V
|
|
|
|
check-cast v0, Ljava/lang/Iterable;
|
|
|
|
.line 1507
|
|
instance-of v5, v0, Ljava/util/Collection;
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
move-object v5, v0
|
|
|
|
check-cast v5, Ljava/util/Collection;
|
|
|
|
invoke-interface {v5}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
.line 1508
|
|
:cond_1
|
|
invoke-interface {v0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_2
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v5
|
|
|
|
if-eqz v5, :cond_3
|
|
|
|
move-object v5, v0
|
|
|
|
check-cast v5, Lkotlin/collections/IntIterator;
|
|
|
|
invoke-virtual {v5}, Lkotlin/collections/IntIterator;->nextInt()I
|
|
|
|
move-result v5
|
|
|
|
.line 1425
|
|
new-instance v6, Lkotlin/ranges/CharRange;
|
|
|
|
const/16 v7, 0x30
|
|
|
|
const/16 v8, 0x39
|
|
|
|
invoke-direct {v6, v7, v8}, Lkotlin/ranges/CharRange;-><init>(CC)V
|
|
|
|
invoke-virtual {p0, v5}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v5
|
|
|
|
invoke-virtual {v6, v5}, Lkotlin/ranges/CharRange;->contains(C)Z
|
|
|
|
move-result v5
|
|
|
|
if-nez v5, :cond_2
|
|
|
|
goto :goto_3
|
|
|
|
.line 1427
|
|
:cond_3
|
|
:goto_1
|
|
invoke-virtual {p0, v4}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result p0
|
|
|
|
const/16 v0, 0x2d
|
|
|
|
if-ne p0, v0, :cond_4
|
|
|
|
const-wide/high16 v0, -0x8000000000000000L
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
const-wide v0, 0x7fffffffffffffffL
|
|
|
|
:goto_2
|
|
return-wide v0
|
|
|
|
.line 1430
|
|
:cond_5
|
|
:goto_3
|
|
const-string v0, "+"
|
|
|
|
invoke-static {p0, v0, v4, v3, v2}, Lkotlin/text/StringsKt;->startsWith$default(Ljava/lang/String;Ljava/lang/String;ZILjava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
invoke-static {p0, v1}, Lkotlin/text/StringsKt;->drop(Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
:cond_6
|
|
invoke-static {p0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method private static final skipWhile(Ljava/lang/String;ILkotlin/jvm/functions/Function1;)I
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"I",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/lang/Character;",
|
|
"Ljava/lang/Boolean;",
|
|
">;)I"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1440
|
|
:goto_0
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
if-ge p1, v0, :cond_0
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p2, v0}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return p1
|
|
.end method
|
|
|
|
.method private static final substringWhile(Ljava/lang/String;ILkotlin/jvm/functions/Function1;)Ljava/lang/String;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/String;",
|
|
"I",
|
|
"Lkotlin/jvm/functions/Function1<",
|
|
"-",
|
|
"Ljava/lang/Character;",
|
|
"Ljava/lang/Boolean;",
|
|
">;)",
|
|
"Ljava/lang/String;"
|
|
}
|
|
.end annotation
|
|
|
|
move v0, p1
|
|
|
|
.line 1511
|
|
:goto_0
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v1
|
|
|
|
invoke-static {v1}, Ljava/lang/Character;->valueOf(C)Ljava/lang/Character;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {p2, v1}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1436
|
|
:cond_0
|
|
const-string p2, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
invoke-static {p0, p2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {p0, p1, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "this as java.lang.String\u2026ing(startIndex, endIndex)"
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final times-kIfJnKk(DJ)J
|
|
.locals 0
|
|
|
|
.line 1331
|
|
invoke-static {p2, p3, p0, p1}, Lkotlin/time/Duration;->times-UwyO8pc(JD)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method private static final times-mvk6XK0(IJ)J
|
|
.locals 0
|
|
|
|
.line 1319
|
|
invoke-static {p1, p2, p0}, Lkotlin/time/Duration;->times-UwyO8pc(JI)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final toDuration(DLkotlin/time/DurationUnit;)J
|
|
.locals 7
|
|
|
|
const-string v0, "unit"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1119
|
|
sget-object v0, Lkotlin/time/DurationUnit;->NANOSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, p2, v0}, Lkotlin/time/DurationUnitKt;->convertDurationUnit(DLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)D
|
|
|
|
move-result-wide v0
|
|
|
|
.line 1120
|
|
invoke-static {v0, v1}, Ljava/lang/Double;->isNaN(D)Z
|
|
|
|
move-result v2
|
|
|
|
xor-int/lit8 v2, v2, 0x1
|
|
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 1121
|
|
invoke-static {v0, v1}, Lkotlin/math/MathKt;->roundToLong(D)J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 1122
|
|
new-instance v2, Lkotlin/ranges/LongRange;
|
|
|
|
const-wide v3, -0x3ffffffffffa14bfL # -2.0000000001722644
|
|
|
|
const-wide v5, 0x3ffffffffffa14bfL # 1.9999999999138678
|
|
|
|
invoke-direct {v2, v3, v4, v5, v6}, Lkotlin/ranges/LongRange;-><init>(JJ)V
|
|
|
|
invoke-virtual {v2, v0, v1}, Lkotlin/ranges/LongRange;->contains(J)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 1123
|
|
invoke-static {v0, v1}, Lkotlin/time/DurationKt;->durationOfNanos(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
goto :goto_0
|
|
|
|
.line 1125
|
|
:cond_0
|
|
sget-object v0, Lkotlin/time/DurationUnit;->MILLISECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, p2, v0}, Lkotlin/time/DurationUnitKt;->convertDurationUnit(DLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)D
|
|
|
|
move-result-wide p0
|
|
|
|
invoke-static {p0, p1}, Lkotlin/math/MathKt;->roundToLong(D)J
|
|
|
|
move-result-wide p0
|
|
|
|
.line 1126
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfMillisNormalized(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
:goto_0
|
|
return-wide p0
|
|
|
|
.line 1120
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string p1, "Duration value cannot be NaN."
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static final toDuration(ILkotlin/time/DurationUnit;)J
|
|
.locals 2
|
|
|
|
const-string v0, "unit"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 1090
|
|
sget-object v0, Lkotlin/time/DurationUnit;->SECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
check-cast v0, Ljava/lang/Enum;
|
|
|
|
invoke-virtual {p1, v0}, Lkotlin/time/DurationUnit;->compareTo(Ljava/lang/Enum;)I
|
|
|
|
move-result v0
|
|
|
|
if-gtz v0, :cond_0
|
|
|
|
int-to-long v0, p0
|
|
|
|
.line 1091
|
|
sget-object p0, Lkotlin/time/DurationUnit;->NANOSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {v0, v1, p1, p0}, Lkotlin/time/DurationUnitKt;->convertDurationUnitOverflow(JLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfNanos(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
int-to-long v0, p0
|
|
|
|
.line 1093
|
|
invoke-static {v0, v1, p1}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
:goto_0
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final toDuration(JLkotlin/time/DurationUnit;)J
|
|
.locals 7
|
|
|
|
const-string v0, "unit"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-wide v0, 0x3ffffffffffa14bfL # 1.9999999999138678
|
|
|
|
.line 1100
|
|
sget-object v2, Lkotlin/time/DurationUnit;->NANOSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {v0, v1, v2, p2}, Lkotlin/time/DurationUnitKt;->convertDurationUnitOverflow(JLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 1101
|
|
new-instance v2, Lkotlin/ranges/LongRange;
|
|
|
|
neg-long v3, v0
|
|
|
|
invoke-direct {v2, v3, v4, v0, v1}, Lkotlin/ranges/LongRange;-><init>(JJ)V
|
|
|
|
invoke-virtual {v2, p0, p1}, Lkotlin/ranges/LongRange;->contains(J)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1102
|
|
sget-object v0, Lkotlin/time/DurationUnit;->NANOSECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, p2, v0}, Lkotlin/time/DurationUnitKt;->convertDurationUnitOverflow(JLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide p0
|
|
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfNanos(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
|
|
.line 1104
|
|
:cond_0
|
|
sget-object v0, Lkotlin/time/DurationUnit;->MILLISECONDS:Lkotlin/time/DurationUnit;
|
|
|
|
invoke-static {p0, p1, p2, v0}, Lkotlin/time/DurationUnitKt;->convertDurationUnit(JLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)J
|
|
|
|
move-result-wide v1
|
|
|
|
const-wide v3, -0x3fffffffffffffffL # -2.0000000000000004
|
|
|
|
const-wide v5, 0x3fffffffffffffffL # 1.9999999999999998
|
|
|
|
.line 1105
|
|
invoke-static/range {v1 .. v6}, Lkotlin/ranges/RangesKt;->coerceIn(JJJ)J
|
|
|
|
move-result-wide p0
|
|
|
|
invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfMillis(J)J
|
|
|
|
move-result-wide p0
|
|
|
|
return-wide p0
|
|
.end method
|