.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,1495:1\n1447#1,6:1497\n1450#1,3:1503\n1447#1,6:1506\n1447#1,6:1512\n1450#1,3:1521\n1#2:1496\n1726#3,3:1518\n*S KotlinDebug\n*F\n+ 1 Duration.kt\nkotlin/time/DurationKt\n*L\n1371#1:1497,6\n1405#1:1503,3\n1408#1:1506,6\n1411#1:1512,6\n1447#1:1521,3\n1436#1:1518,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\u001d\u0010#\u001a\u00020\u00072\u0006\u0010$\u001a\u00020\u00012\u0006\u0010%\u001a\u00020\u0005H\u0002\u00a2\u0006\u0002\u0010&\u001a\u0015\u0010\'\u001a\u00020\u00072\u0006\u0010(\u001a\u00020\u0001H\u0002\u00a2\u0006\u0002\u0010\u0010\u001a\u0015\u0010)\u001a\u00020\u00072\u0006\u0010*\u001a\u00020\u0001H\u0002\u00a2\u0006\u0002\u0010\u0010\u001a\u0015\u0010+\u001a\u00020\u00072\u0006\u0010,\u001a\u00020\u0001H\u0002\u00a2\u0006\u0002\u0010\u0010\u001a\u0015\u0010-\u001a\u00020\u00072\u0006\u0010.\u001a\u00020\u0001H\u0002\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\u001d\u00101\u001a\u00020\u00072\u0006\u00102\u001a\u0002032\u0006\u00104\u001a\u000205H\u0002\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\u001c\u0010>\u001a\u00020\u0007*\u00020\u00082\u0006\u0010?\u001a\u00020\u0007H\u0087\n\u00a2\u0006\u0004\u0008@\u0010A\u001a\u001c\u0010>\u001a\u00020\u0007*\u00020\u00052\u0006\u0010?\u001a\u00020\u0007H\u0087\n\u00a2\u0006\u0004\u0008B\u0010C\u001a\u0019\u0010D\u001a\u00020\u0007*\u00020\u00082\u0006\u0010E\u001a\u00020FH\u0007\u00a2\u0006\u0002\u0010G\u001a\u0019\u0010D\u001a\u00020\u0007*\u00020\u00052\u0006\u0010E\u001a\u00020FH\u0007\u00a2\u0006\u0002\u0010H\u001a\u0019\u0010D\u001a\u00020\u0007*\u00020\u00012\u0006\u0010E\u001a\u00020FH\u0007\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\"\u001e\u0010\u0006\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\t\u0010\n\u001a\u0004\u0008\u000b\u0010\u000c\"\u001e\u0010\u0006\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\t\u0010\r\u001a\u0004\u0008\u000b\u0010\u000e\"\u001e\u0010\u0006\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\t\u0010\u000f\u001a\u0004\u0008\u000b\u0010\u0010\"\u001e\u0010\u0011\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0012\u0010\n\u001a\u0004\u0008\u0013\u0010\u000c\"\u001e\u0010\u0011\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0012\u0010\r\u001a\u0004\u0008\u0013\u0010\u000e\"\u001e\u0010\u0011\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0012\u0010\u000f\u001a\u0004\u0008\u0013\u0010\u0010\"\u001e\u0010\u0014\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0015\u0010\n\u001a\u0004\u0008\u0016\u0010\u000c\"\u001e\u0010\u0014\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0015\u0010\r\u001a\u0004\u0008\u0016\u0010\u000e\"\u001e\u0010\u0014\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0015\u0010\u000f\u001a\u0004\u0008\u0016\u0010\u0010\"\u001e\u0010\u0017\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0018\u0010\n\u001a\u0004\u0008\u0019\u0010\u000c\"\u001e\u0010\u0017\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0018\u0010\r\u001a\u0004\u0008\u0019\u0010\u000e\"\u001e\u0010\u0017\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0018\u0010\u000f\u001a\u0004\u0008\u0019\u0010\u0010\"\u001e\u0010\u001a\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u001b\u0010\n\u001a\u0004\u0008\u001c\u0010\u000c\"\u001e\u0010\u001a\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u001b\u0010\r\u001a\u0004\u0008\u001c\u0010\u000e\"\u001e\u0010\u001a\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u001b\u0010\u000f\u001a\u0004\u0008\u001c\u0010\u0010\"\u001e\u0010\u001d\u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u001e\u0010\n\u001a\u0004\u0008\u001f\u0010\u000c\"\u001e\u0010\u001d\u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u001e\u0010\r\u001a\u0004\u0008\u001f\u0010\u000e\"\u001e\u0010\u001d\u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u001e\u0010\u000f\u001a\u0004\u0008\u001f\u0010\u0010\"\u001e\u0010 \u001a\u00020\u0007*\u00020\u00088FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008!\u0010\n\u001a\u0004\u0008\"\u0010\u000c\"\u001e\u0010 \u001a\u00020\u0007*\u00020\u00058FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008!\u0010\r\u001a\u0004\u0008\"\u0010\u000e\"\u001e\u0010 \u001a\u00020\u0007*\u00020\u00018FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008!\u0010\u000f\u001a\u0004\u0008\"\u0010\u0010\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, 0x9, 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 1476 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 1475 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 1485 new-instance v0, Lkotlin/ranges/LongRange; const-wide v1, -0x431bde82d7aL const-wide v3, 0x431bde82d7aL invoke-direct {v0, v1, v2, v3, v4}, Lkotlin/ranges/LongRange;->(JJ)V invoke-virtual {v0, p0, p1}, Lkotlin/ranges/LongRange;->contains(J)Z move-result v0 if-eqz v0, :cond_0 .line 1486 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 1488 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 1474 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 1478 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;->(JJ)V invoke-virtual {v0, p0, p1}, Lkotlin/ranges/LongRange;->contains(J)Z move-result v0 if-eqz v0, :cond_0 .line 1479 invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfNanos(J)J move-result-wide p0 goto :goto_0 .line 1481 :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 synthetic getDays(D)J .locals 1 .line 1323 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 synthetic getDays(I)J .locals 2 .line 1305 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 synthetic getDays(J)J .locals 1 .line 1312 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" warningSince = "1.5" .end annotation return-void .end method .method public static final synthetic getHours(D)J .locals 1 .line 1297 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 synthetic getHours(I)J .locals 2 .line 1279 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 synthetic getHours(J)J .locals 1 .line 1286 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" warningSince = "1.5" .end annotation return-void .end method .method public static final synthetic getMicroseconds(D)J .locals 1 .line 1193 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 synthetic getMicroseconds(I)J .locals 2 .line 1175 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 synthetic getMicroseconds(J)J .locals 1 .line 1182 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" warningSince = "1.5" .end annotation return-void .end method .method public static final synthetic getMilliseconds(D)J .locals 1 .line 1219 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 synthetic getMilliseconds(I)J .locals 2 .line 1201 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 synthetic getMilliseconds(J)J .locals 1 .line 1208 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" warningSince = "1.5" .end annotation return-void .end method .method public static final synthetic getMinutes(D)J .locals 1 .line 1271 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 synthetic getMinutes(I)J .locals 2 .line 1253 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 synthetic getMinutes(J)J .locals 1 .line 1260 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" warningSince = "1.5" .end annotation return-void .end method .method public static final synthetic getNanoseconds(D)J .locals 1 .line 1167 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 synthetic getNanoseconds(I)J .locals 2 .line 1149 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 synthetic getNanoseconds(J)J .locals 1 .line 1156 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" warningSince = "1.5" .end annotation return-void .end method .method public static final synthetic getSeconds(D)J .locals 1 .line 1245 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 synthetic getSeconds(I)J .locals 2 .line 1227 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 synthetic getSeconds(J)J .locals 1 .line 1234 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" 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" hiddenSince = "1.9" 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 1471 div-long/2addr p0, v0 return-wide p0 .end method .method private static final parseDuration(Ljava/lang/String;Z)J .locals 26 move-object/from16 v6, p0 .line 1347 invoke-virtual/range {p0 .. p0}, Ljava/lang/String;->length()I move-result v7 if-eqz v7, :cond_22 .line 1350 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-string v2, "Infinity" const/4 v10, 0x0 .line 1352 invoke-virtual {v6, v10}, Ljava/lang/String;->charAt(I)C move-result v0 const/16 v1, 0x2b const/16 v3, 0x2d const/4 v11, 0x1 if-ne v0, v1, :cond_0 goto :goto_0 :cond_0 if-ne v0, v3, :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 1356 move-object v1, v6 check-cast v1, Ljava/lang/CharSequence; invoke-static {v1, v3, 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 :goto_3 const-string v5, "No components" if-le v7, v12, :cond_21 .line 1360 invoke-virtual {v6, v12}, Ljava/lang/String;->charAt(I)C move-result v1 const/16 v3, 0x50 const-string v4, "Unexpected order of duration components" move-object/from16 v16, v5 const/16 v5, 0x39 const/16 v0, 0x30 const-string v10, "substring(...)" const-string v14, "null cannot be cast to non-null type java.lang.String" if-ne v1, v3, :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 1366 invoke-virtual {v6, v12}, Ljava/lang/String;->charAt(I)C move-result v3 const/16 v13, 0x54 if-ne v3, v13, :cond_5 if-nez v1, :cond_4 add-int/lit8 v12, v12, 0x1 if-eq v12, v7, :cond_4 move v1, v11 goto :goto_4 .line 1367 :cond_4 new-instance v0, Ljava/lang/IllegalArgumentException; invoke-direct {v0}, Ljava/lang/IllegalArgumentException;->()V throw v0 :cond_5 move v3, v12 .line 1501 :goto_5 invoke-virtual/range {p0 .. p0}, Ljava/lang/String;->length()I move-result v13 if-ge v3, v13, :cond_7 invoke-virtual {v6, v3}, Ljava/lang/String;->charAt(I)C move-result v13 .line 1371 new-instance v11, Lkotlin/ranges/CharRange; invoke-direct {v11, v0, v5}, Lkotlin/ranges/CharRange;->(CC)V invoke-virtual {v11, v13}, Lkotlin/ranges/CharRange;->contains(C)Z move-result v11 if-nez v11, :cond_6 const-string v11, "+-." check-cast v11, Ljava/lang/CharSequence; move/from16 v17, v15 const/4 v0, 0x2 const/4 v5, 0x0 const/4 v15, 0x0 invoke-static {v11, v13, v15, v0, v5}, Lkotlin/text/StringsKt;->contains$default(Ljava/lang/CharSequence;CZILjava/lang/Object;)Z move-result v11 if-eqz v11, :cond_8 goto :goto_6 :cond_6 move/from16 v17, v15 const/4 v0, 0x2 const/4 v5, 0x0 :goto_6 add-int/lit8 v3, v3, 0x1 move/from16 v15, v17 const/16 v0, 0x30 const/16 v5, 0x39 const/4 v11, 0x1 goto :goto_5 :cond_7 move/from16 v17, v15 const/4 v0, 0x2 const/4 v5, 0x0 .line 1497 :cond_8 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 1372 move-object/from16 v19, v3 check-cast v19, Ljava/lang/CharSequence; invoke-interface/range {v19 .. v19}, Ljava/lang/CharSequence;->length()I move-result v11 if-eqz v11, :cond_d .line 1373 invoke-virtual {v3}, Ljava/lang/String;->length()I move-result v11 add-int/2addr v12, v11 .line 1374 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 1376 invoke-static {v11, v1}, Lkotlin/time/DurationUnitKt;->durationUnitByIsoChar(CZ)Lkotlin/time/DurationUnit; move-result-object v11 if-eqz v2, :cond_a .line 1377 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_7 :cond_9 new-instance v0, Ljava/lang/IllegalArgumentException; invoke-direct {v0, v4}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 :cond_a :goto_7 const/16 v20, 0x2e const/16 v21, 0x0 const/16 v22, 0x0 const/16 v23, 0x6 const/16 v24, 0x0 .line 1379 invoke-static/range {v19 .. v24}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I move-result v2 .line 1380 sget-object v13, Lkotlin/time/DurationUnit;->SECONDS:Lkotlin/time/DurationUnit; if-ne v11, v13, :cond_b if-lez v2, :cond_b .line 1381 invoke-static {v3, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V const/4 v13, 0x0 invoke-virtual {v3, 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 1382 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 1383 invoke-static {v3, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {v3, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String; move-result-object v2 invoke-static {v2, v10}, 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 v2 invoke-static {v2, v3, v11}, Lkotlin/time/DurationKt;->toDuration(DLkotlin/time/DurationUnit;)J move-result-wide v2 invoke-static {v0, v1, v2, v3}, Lkotlin/time/Duration;->plus-LRDsOJo(JJ)J move-result-wide v8 goto :goto_8 :cond_b move/from16 p1, v1 .line 1385 invoke-static {v3}, 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_8 move/from16 v1, p1 move-object v2, v11 move/from16 v15, v17 const/16 v0, 0x30 const/16 v5, 0x39 const/4 v11, 0x1 goto/16 :goto_4 .line 1374 :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;->(Ljava/lang/String;)V invoke-virtual {v1, v3}, 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;->(Ljava/lang/String;)V throw v0 .line 1372 :cond_d new-instance v0, Ljava/lang/IllegalArgumentException; invoke-direct {v0}, Ljava/lang/IllegalArgumentException;->()V throw v0 :cond_e move/from16 v17, v15 goto/16 :goto_10 .line 1361 :cond_f new-instance v0, Ljava/lang/IllegalArgumentException; invoke-direct {v0}, Ljava/lang/IllegalArgumentException;->()V throw v0 :cond_10 move/from16 v17, v15 const/4 v5, 0x0 if-nez p1, :cond_20 const/4 v3, 0x0 sub-int v0, v7, v12 const/16 v1, 0x8 .line 1391 invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I move-result v11 const/4 v15, 0x1 const/16 v1, 0x30 move-object/from16 v0, p0 move v1, v12 move-object/from16 v25, v4 move v4, v11 move-object/from16 v11, v16 move-object/from16 v16, v5 move v5, v15 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 1392 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_10 :cond_11 xor-int/lit8 v0, v13, 0x1 if-eqz v13, :cond_13 .line 1399 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 v7, v7, -0x1 if-eq v12, v7, :cond_12 move-object/from16 v1, v16 const/4 v0, 0x1 goto :goto_9 .line 1401 :cond_12 new-instance v0, Ljava/lang/IllegalArgumentException; invoke-direct {v0, v11}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 :cond_13 move-object/from16 v1, v16 :goto_9 const/4 v15, 0x0 :goto_a if-ge v12, v7, :cond_1e if-eqz v15, :cond_14 if-eqz v0, :cond_14 .line 1504 :goto_b invoke-virtual/range {p0 .. p0}, Ljava/lang/String;->length()I move-result v2 if-ge v12, v2, :cond_14 invoke-virtual {v6, v12}, Ljava/lang/String;->charAt(I)C move-result v2 const/16 v3, 0x20 if-ne v2, v3, :cond_14 add-int/lit8 v12, v12, 0x1 goto :goto_b :cond_14 move v2, v12 .line 1510 :goto_c invoke-virtual/range {p0 .. p0}, Ljava/lang/String;->length()I move-result v3 if-ge v2, v3, :cond_16 invoke-virtual {v6, v2}, Ljava/lang/String;->charAt(I)C move-result v3 .line 1408 new-instance v4, Lkotlin/ranges/CharRange; const/16 v5, 0x39 const/16 v11, 0x30 invoke-direct {v4, v11, v5}, Lkotlin/ranges/CharRange;->(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 v2, v2, 0x1 goto :goto_c :cond_16 const/16 v5, 0x39 const/16 v11, 0x30 .line 1506 :cond_17 invoke-static {v6, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {v6, v12, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object v2 invoke-static {v2, v10}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V .line 1409 move-object/from16 v18, v2 check-cast v18, Ljava/lang/CharSequence; invoke-interface/range {v18 .. v18}, Ljava/lang/CharSequence;->length()I move-result v3 if-eqz v3, :cond_1d .line 1410 invoke-virtual {v2}, Ljava/lang/String;->length()I move-result v3 add-int/2addr v12, v3 move v3, v12 .line 1516 :goto_d 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 1411 new-instance v13, Lkotlin/ranges/CharRange; const/16 v15, 0x61 const/16 v5, 0x7a invoke-direct {v13, v15, v5}, Lkotlin/ranges/CharRange;->(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 goto :goto_d .line 1512 :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 1412 invoke-virtual {v3}, Ljava/lang/String;->length()I move-result v4 add-int/2addr v12, v4 .line 1413 invoke-static {v3}, Lkotlin/time/DurationUnitKt;->durationUnitByShortName(Ljava/lang/String;)Lkotlin/time/DurationUnit; move-result-object v3 if-eqz v1, :cond_1a .line 1414 move-object v4, v3 check-cast v4, Ljava/lang/Enum; invoke-virtual {v1, v4}, Lkotlin/time/DurationUnit;->compareTo(Ljava/lang/Enum;)I move-result v1 if-lez v1, :cond_19 goto :goto_e :cond_19 new-instance v0, Ljava/lang/IllegalArgumentException; move-object/from16 v1, v25 invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 :cond_1a :goto_e move-object/from16 v1, v25 const/16 v19, 0x2e const/16 v20, 0x0 const/16 v21, 0x0 const/16 v22, 0x6 const/16 v23, 0x0 .line 1416 invoke-static/range {v18 .. v23}, Lkotlin/text/StringsKt;->indexOf$default(Ljava/lang/CharSequence;CIZILjava/lang/Object;)I move-result v4 if-lez v4, :cond_1c .line 1418 invoke-static {v2, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V const/4 v5, 0x0 invoke-virtual {v2, v5, v4}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object v13 invoke-static {v13, v10}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V .line 1419 invoke-static {v13}, 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 1420 invoke-static {v2, v14}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-virtual {v2, v4}, Ljava/lang/String;->substring(I)Ljava/lang/String; move-result-object v2 invoke-static {v2, v10}, 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 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_f .line 1421 :cond_1b new-instance v0, Ljava/lang/IllegalArgumentException; const-string v1, "Fractional component must be last" invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 .line 1423 :cond_1c invoke-static {v2}, 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_f move-object/from16 v6, p0 move-object/from16 v25, v1 move-object v1, v3 const/4 v15, 0x1 goto/16 :goto_a .line 1409 :cond_1d new-instance v0, Ljava/lang/IllegalArgumentException; invoke-direct {v0}, Ljava/lang/IllegalArgumentException;->()V throw v0 :cond_1e :goto_10 if-eqz v17, :cond_1f .line 1428 invoke-static {v8, v9}, Lkotlin/time/Duration;->unaryMinus-UwyO8pc(J)J move-result-wide v8 :cond_1f return-wide v8 .line 1390 :cond_20 new-instance v0, Ljava/lang/IllegalArgumentException; invoke-direct {v0}, Ljava/lang/IllegalArgumentException;->()V throw v0 :cond_21 move-object v11, v5 .line 1359 new-instance v0, Ljava/lang/IllegalArgumentException; invoke-direct {v0, v11}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 .line 1348 :cond_22 new-instance v0, Ljava/lang/IllegalArgumentException; const-string v1, "The string is empty" invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 .end method .method private static final parseOverLongIsoComponent(Ljava/lang/String;)J .locals 9 .line 1433 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 const-string v5, "+-" .line 1435 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 1436 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;->(II)V check-cast v0, Ljava/lang/Iterable; .line 1518 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 1519 :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 1436 new-instance v6, Lkotlin/ranges/CharRange; const/16 v7, 0x30 const/16 v8, 0x39 invoke-direct {v6, v7, v8}, Lkotlin/ranges/CharRange;->(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 1438 :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 :cond_5 :goto_3 const-string v0, "+" .line 1441 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 1451 :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 1522 :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 :cond_0 const-string p2, "null cannot be cast to non-null type java.lang.String" .line 1447 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, "substring(...)" 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 1342 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 1330 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 1130 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 1131 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 1132 invoke-static {v0, v1}, Lkotlin/math/MathKt;->roundToLong(D)J move-result-wide v0 .line 1133 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;->(JJ)V invoke-virtual {v2, v0, v1}, Lkotlin/ranges/LongRange;->contains(J)Z move-result v2 if-eqz v2, :cond_0 .line 1134 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->durationOfNanos(J)J move-result-wide p0 goto :goto_0 .line 1136 :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 1137 invoke-static {p0, p1}, Lkotlin/time/DurationKt;->durationOfMillisNormalized(J)J move-result-wide p0 :goto_0 return-wide p0 .line 1131 :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;->(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 1101 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 1102 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 1104 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 1111 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 1112 new-instance v2, Lkotlin/ranges/LongRange; neg-long v3, v0 invoke-direct {v2, v3, v4, v0, v1}, Lkotlin/ranges/LongRange;->(JJ)V invoke-virtual {v2, p0, p1}, Lkotlin/ranges/LongRange;->contains(J)Z move-result v0 if-eqz v0, :cond_0 .line 1113 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 1115 :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 1116 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