.class public final Lkotlin/time/Duration; .super Ljava/lang/Object; .source "Duration.kt" # interfaces .implements Ljava/lang/Comparable; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lkotlin/time/Duration$Companion; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Ljava/lang/Comparable<", "Lkotlin/time/Duration;", ">;" } .end annotation .annotation system Ldalvik/annotation/SourceDebugExtension; value = "SMAP\nDuration.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Duration.kt\nkotlin/time/Duration\n+ 2 _Strings.kt\nkotlin/text/StringsKt___StringsKt\n+ 3 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,1495:1\n38#1:1496\n38#1:1497\n38#1:1498\n38#1:1499\n38#1:1500\n683#1,2:1501\n700#1,2:1510\n163#2,6:1503\n1#3:1509\n*S KotlinDebug\n*F\n+ 1 Duration.kt\nkotlin/time/Duration\n*L\n39#1:1496\n40#1:1497\n458#1:1498\n478#1:1499\n662#1:1500\n979#1:1501,2\n1070#1:1510,2\n1021#1:1503,6\n*E\n" .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000n\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0000\n\u0002\u0010\t\n\u0002\u0008\u0005\n\u0002\u0010\u0008\n\u0002\u0008\u0005\n\u0002\u0010\u0006\n\u0002\u0008-\n\u0002\u0018\u0002\n\u0002\u0008\u0017\n\u0002\u0010\u000b\n\u0002\u0010\u0000\n\u0002\u0008\u001b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0008\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\t\n\u0002\u0010\u000e\n\u0002\u0008\u0012\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0008\u0008\u0087@\u0018\u0000 \u00a6\u00012\u0008\u0012\u0004\u0012\u00020\u00000\u0001:\u0002\u00a6\u0001B\u0011\u0008\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\u0004\u0008\u0004\u0010\u0005J\"\u0010D\u001a\u00020\u00002\u0006\u0010E\u001a\u00020\u00032\u0006\u0010F\u001a\u00020\u0003H\u0002\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008G\u0010HJ\u0018\u0010I\u001a\u00020\t2\u0006\u0010J\u001a\u00020\u0000H\u0096\u0002\u00a2\u0006\u0004\u0008K\u0010LJ\u001b\u0010M\u001a\u00020\u00002\u0006\u0010N\u001a\u00020\u000fH\u0086\u0002\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008O\u0010PJ\u001b\u0010M\u001a\u00020\u00002\u0006\u0010N\u001a\u00020\tH\u0086\u0002\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008O\u0010QJ\u0018\u0010M\u001a\u00020\u000f2\u0006\u0010J\u001a\u00020\u0000H\u0086\u0002\u00a2\u0006\u0004\u0008R\u0010SJ\u001a\u0010T\u001a\u00020U2\u0008\u0010J\u001a\u0004\u0018\u00010VH\u00d6\u0003\u00a2\u0006\u0004\u0008W\u0010XJ\u0010\u0010Y\u001a\u00020\tH\u00d6\u0001\u00a2\u0006\u0004\u0008Z\u0010\rJ\r\u0010[\u001a\u00020U\u00a2\u0006\u0004\u0008\\\u0010]J\u000f\u0010^\u001a\u00020UH\u0002\u00a2\u0006\u0004\u0008_\u0010]J\u000f\u0010`\u001a\u00020UH\u0002\u00a2\u0006\u0004\u0008a\u0010]J\r\u0010b\u001a\u00020U\u00a2\u0006\u0004\u0008c\u0010]J\r\u0010d\u001a\u00020U\u00a2\u0006\u0004\u0008e\u0010]J\r\u0010f\u001a\u00020U\u00a2\u0006\u0004\u0008g\u0010]J\u0018\u0010h\u001a\u00020\u00002\u0006\u0010J\u001a\u00020\u0000H\u0086\u0002\u00a2\u0006\u0004\u0008i\u0010jJ\u0018\u0010k\u001a\u00020\u00002\u0006\u0010J\u001a\u00020\u0000H\u0086\u0002\u00a2\u0006\u0004\u0008l\u0010jJ\u001b\u0010m\u001a\u00020\u00002\u0006\u0010N\u001a\u00020\u000fH\u0086\u0002\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008n\u0010PJ\u001b\u0010m\u001a\u00020\u00002\u0006\u0010N\u001a\u00020\tH\u0086\u0002\u00f8\u0001\u0000\u00a2\u0006\u0004\u0008n\u0010QJ\u009d\u0001\u0010o\u001a\u0002Hp\"\u0004\u0008\u0000\u0010p2u\u0010q\u001aq\u0012\u0013\u0012\u00110\u0003\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(u\u0012\u0013\u0012\u00110\t\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(v\u0012\u0013\u0012\u00110\t\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(w\u0012\u0013\u0012\u00110\t\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(x\u0012\u0013\u0012\u00110\t\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(y\u0012\u0004\u0012\u0002Hp0rH\u0086\u0008\u00f8\u0001\u0001\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0001 \u0001\u00a2\u0006\u0004\u0008z\u0010{J\u0088\u0001\u0010o\u001a\u0002Hp\"\u0004\u0008\u0000\u0010p2`\u0010q\u001a\\\u0012\u0013\u0012\u00110\u0003\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(v\u0012\u0013\u0012\u00110\t\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(w\u0012\u0013\u0012\u00110\t\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(x\u0012\u0013\u0012\u00110\t\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(y\u0012\u0004\u0012\u0002Hp0|H\u0086\u0008\u00f8\u0001\u0001\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0001 \u0001\u00a2\u0006\u0004\u0008z\u0010}Js\u0010o\u001a\u0002Hp\"\u0004\u0008\u0000\u0010p2K\u0010q\u001aG\u0012\u0013\u0012\u00110\u0003\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(w\u0012\u0013\u0012\u00110\t\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(x\u0012\u0013\u0012\u00110\t\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(y\u0012\u0004\u0012\u0002Hp0~H\u0086\u0008\u00f8\u0001\u0001\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0001 \u0001\u00a2\u0006\u0004\u0008z\u0010\u007fJ`\u0010o\u001a\u0002Hp\"\u0004\u0008\u0000\u0010p27\u0010q\u001a3\u0012\u0013\u0012\u00110\u0003\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(x\u0012\u0013\u0012\u00110\t\u00a2\u0006\u000c\u0008s\u0012\u0008\u0008t\u0012\u0004\u0008\u0008(y\u0012\u0004\u0012\u0002Hp0\u0080\u0001H\u0086\u0008\u00f8\u0001\u0001\u0082\u0002\n\n\u0008\u0008\u0001\u0012\u0002\u0010\u0001 \u0001\u00a2\u0006\u0005\u0008z\u0010\u0081\u0001J\u0019\u0010\u0082\u0001\u001a\u00020\u000f2\u0007\u0010\u0083\u0001\u001a\u00020=\u00a2\u0006\u0006\u0008\u0084\u0001\u0010\u0085\u0001J\u0019\u0010\u0086\u0001\u001a\u00020\t2\u0007\u0010\u0083\u0001\u001a\u00020=\u00a2\u0006\u0006\u0008\u0087\u0001\u0010\u0088\u0001J\u0011\u0010\u0089\u0001\u001a\u00030\u008a\u0001\u00a2\u0006\u0006\u0008\u008b\u0001\u0010\u008c\u0001J\u0019\u0010\u008d\u0001\u001a\u00020\u00032\u0007\u0010\u0083\u0001\u001a\u00020=\u00a2\u0006\u0006\u0008\u008e\u0001\u0010\u008f\u0001J\u0011\u0010\u0090\u0001\u001a\u00020\u0003H\u0007\u00a2\u0006\u0005\u0008\u0091\u0001\u0010\u0005J\u0011\u0010\u0092\u0001\u001a\u00020\u0003H\u0007\u00a2\u0006\u0005\u0008\u0093\u0001\u0010\u0005J\u0013\u0010\u0094\u0001\u001a\u00030\u008a\u0001H\u0016\u00a2\u0006\u0006\u0008\u0095\u0001\u0010\u008c\u0001J%\u0010\u0094\u0001\u001a\u00030\u008a\u00012\u0007\u0010\u0083\u0001\u001a\u00020=2\t\u0008\u0002\u0010\u0096\u0001\u001a\u00020\t\u00a2\u0006\u0006\u0008\u0095\u0001\u0010\u0097\u0001J\u001e\u0010\u0098\u0001\u001a\u00020\u00002\u0007\u0010\u0083\u0001\u001a\u00020=H\u0000\u00f8\u0001\u0000\u00a2\u0006\u0006\u0008\u0099\u0001\u0010\u008f\u0001J\u0015\u0010\u009a\u0001\u001a\u00020\u0000H\u0086\u0002\u00f8\u0001\u0000\u00a2\u0006\u0005\u0008\u009b\u0001\u0010\u0005JK\u0010\u009c\u0001\u001a\u00030\u009d\u0001*\u00080\u009e\u0001j\u0003`\u009f\u00012\u0007\u0010\u00a0\u0001\u001a\u00020\t2\u0007\u0010\u00a1\u0001\u001a\u00020\t2\u0007\u0010\u00a2\u0001\u001a\u00020\t2\u0008\u0010\u0083\u0001\u001a\u00030\u008a\u00012\u0007\u0010\u00a3\u0001\u001a\u00020UH\u0002\u00a2\u0006\u0006\u0008\u00a4\u0001\u0010\u00a5\u0001R\u0014\u0010\u0006\u001a\u00020\u00008F\u00f8\u0001\u0000\u00a2\u0006\u0006\u001a\u0004\u0008\u0007\u0010\u0005R\u001a\u0010\u0008\u001a\u00020\t8@X\u0081\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\n\u0010\u000b\u001a\u0004\u0008\u000c\u0010\rR\u001a\u0010\u000e\u001a\u00020\u000f8FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0010\u0010\u000b\u001a\u0004\u0008\u0011\u0010\u0012R\u001a\u0010\u0013\u001a\u00020\u000f8FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0014\u0010\u000b\u001a\u0004\u0008\u0015\u0010\u0012R\u001a\u0010\u0016\u001a\u00020\u000f8FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u0017\u0010\u000b\u001a\u0004\u0008\u0018\u0010\u0012R\u001a\u0010\u0019\u001a\u00020\u000f8FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u001a\u0010\u000b\u001a\u0004\u0008\u001b\u0010\u0012R\u001a\u0010\u001c\u001a\u00020\u000f8FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008\u001d\u0010\u000b\u001a\u0004\u0008\u001e\u0010\u0012R\u001a\u0010\u001f\u001a\u00020\u000f8FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008 \u0010\u000b\u001a\u0004\u0008!\u0010\u0012R\u001a\u0010\"\u001a\u00020\u000f8FX\u0087\u0004\u00a2\u0006\u000c\u0012\u0004\u0008#\u0010\u000b\u001a\u0004\u0008$\u0010\u0012R\u0011\u0010%\u001a\u00020\u00038F\u00a2\u0006\u0006\u001a\u0004\u0008&\u0010\u0005R\u0011\u0010\'\u001a\u00020\u00038F\u00a2\u0006\u0006\u001a\u0004\u0008(\u0010\u0005R\u0011\u0010)\u001a\u00020\u00038F\u00a2\u0006\u0006\u001a\u0004\u0008*\u0010\u0005R\u0011\u0010+\u001a\u00020\u00038F\u00a2\u0006\u0006\u001a\u0004\u0008,\u0010\u0005R\u0011\u0010-\u001a\u00020\u00038F\u00a2\u0006\u0006\u001a\u0004\u0008.\u0010\u0005R\u0011\u0010/\u001a\u00020\u00038F\u00a2\u0006\u0006\u001a\u0004\u00080\u0010\u0005R\u0011\u00101\u001a\u00020\u00038F\u00a2\u0006\u0006\u001a\u0004\u00082\u0010\u0005R\u001a\u00103\u001a\u00020\t8@X\u0081\u0004\u00a2\u0006\u000c\u0012\u0004\u00084\u0010\u000b\u001a\u0004\u00085\u0010\rR\u001a\u00106\u001a\u00020\t8@X\u0081\u0004\u00a2\u0006\u000c\u0012\u0004\u00087\u0010\u000b\u001a\u0004\u00088\u0010\rR\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u001a\u00109\u001a\u00020\t8@X\u0081\u0004\u00a2\u0006\u000c\u0012\u0004\u0008:\u0010\u000b\u001a\u0004\u0008;\u0010\rR\u0014\u0010<\u001a\u00020=8BX\u0082\u0004\u00a2\u0006\u0006\u001a\u0004\u0008>\u0010?R\u0015\u0010@\u001a\u00020\t8\u00c2\u0002X\u0082\u0004\u00a2\u0006\u0006\u001a\u0004\u0008A\u0010\rR\u0014\u0010B\u001a\u00020\u00038BX\u0082\u0004\u00a2\u0006\u0006\u001a\u0004\u0008C\u0010\u0005\u0088\u0001\u0002\u0092\u0001\u00020\u0003\u0082\u0002\u000b\n\u0002\u0008!\n\u0005\u0008\u009920\u0001\u00a8\u0006\u00a7\u0001" } d2 = { "Lkotlin/time/Duration;", "", "rawValue", "", "constructor-impl", "(J)J", "absoluteValue", "getAbsoluteValue-UwyO8pc", "hoursComponent", "", "getHoursComponent$annotations", "()V", "getHoursComponent-impl", "(J)I", "inDays", "", "getInDays$annotations", "getInDays-impl", "(J)D", "inHours", "getInHours$annotations", "getInHours-impl", "inMicroseconds", "getInMicroseconds$annotations", "getInMicroseconds-impl", "inMilliseconds", "getInMilliseconds$annotations", "getInMilliseconds-impl", "inMinutes", "getInMinutes$annotations", "getInMinutes-impl", "inNanoseconds", "getInNanoseconds$annotations", "getInNanoseconds-impl", "inSeconds", "getInSeconds$annotations", "getInSeconds-impl", "inWholeDays", "getInWholeDays-impl", "inWholeHours", "getInWholeHours-impl", "inWholeMicroseconds", "getInWholeMicroseconds-impl", "inWholeMilliseconds", "getInWholeMilliseconds-impl", "inWholeMinutes", "getInWholeMinutes-impl", "inWholeNanoseconds", "getInWholeNanoseconds-impl", "inWholeSeconds", "getInWholeSeconds-impl", "minutesComponent", "getMinutesComponent$annotations", "getMinutesComponent-impl", "nanosecondsComponent", "getNanosecondsComponent$annotations", "getNanosecondsComponent-impl", "secondsComponent", "getSecondsComponent$annotations", "getSecondsComponent-impl", "storageUnit", "Lkotlin/time/DurationUnit;", "getStorageUnit-impl", "(J)Lkotlin/time/DurationUnit;", "unitDiscriminator", "getUnitDiscriminator-impl", "value", "getValue-impl", "addValuesMixedRanges", "thisMillis", "otherNanos", "addValuesMixedRanges-UwyO8pc", "(JJJ)J", "compareTo", "other", "compareTo-LRDsOJo", "(JJ)I", "div", "scale", "div-UwyO8pc", "(JD)J", "(JI)J", "div-LRDsOJo", "(JJ)D", "equals", "", "", "equals-impl", "(JLjava/lang/Object;)Z", "hashCode", "hashCode-impl", "isFinite", "isFinite-impl", "(J)Z", "isInMillis", "isInMillis-impl", "isInNanos", "isInNanos-impl", "isInfinite", "isInfinite-impl", "isNegative", "isNegative-impl", "isPositive", "isPositive-impl", "minus", "minus-LRDsOJo", "(JJ)J", "plus", "plus-LRDsOJo", "times", "times-UwyO8pc", "toComponents", "T", "action", "Lkotlin/Function5;", "Lkotlin/ParameterName;", "name", "days", "hours", "minutes", "seconds", "nanoseconds", "toComponents-impl", "(JLkotlin/jvm/functions/Function5;)Ljava/lang/Object;", "Lkotlin/Function4;", "(JLkotlin/jvm/functions/Function4;)Ljava/lang/Object;", "Lkotlin/Function3;", "(JLkotlin/jvm/functions/Function3;)Ljava/lang/Object;", "Lkotlin/Function2;", "(JLkotlin/jvm/functions/Function2;)Ljava/lang/Object;", "toDouble", "unit", "toDouble-impl", "(JLkotlin/time/DurationUnit;)D", "toInt", "toInt-impl", "(JLkotlin/time/DurationUnit;)I", "toIsoString", "", "toIsoString-impl", "(J)Ljava/lang/String;", "toLong", "toLong-impl", "(JLkotlin/time/DurationUnit;)J", "toLongMilliseconds", "toLongMilliseconds-impl", "toLongNanoseconds", "toLongNanoseconds-impl", "toString", "toString-impl", "decimals", "(JLkotlin/time/DurationUnit;I)Ljava/lang/String;", "truncateTo", "truncateTo-UwyO8pc$kotlin_stdlib", "unaryMinus", "unaryMinus-UwyO8pc", "appendFractional", "", "Ljava/lang/StringBuilder;", "Lkotlin/text/StringBuilder;", "whole", "fractional", "fractionalSize", "isoZeroes", "appendFractional-impl", "(JLjava/lang/StringBuilder;IIILjava/lang/String;Z)V", "Companion", "kotlin-stdlib" } k = 0x1 mv = { 0x1, 0x9, 0x0 } xi = 0x30 .end annotation .annotation runtime Lkotlin/jvm/JvmInline; .end annotation # static fields .field public static final Companion:Lkotlin/time/Duration$Companion; .field private static final INFINITE:J .field private static final NEG_INFINITE:J .field private static final ZERO:J # instance fields .field private final rawValue:J # direct methods .method static constructor ()V .locals 2 new-instance v0, Lkotlin/time/Duration$Companion; const/4 v1, 0x0 invoke-direct {v0, v1}, Lkotlin/time/Duration$Companion;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Lkotlin/time/Duration;->Companion:Lkotlin/time/Duration$Companion; const-wide/16 v0, 0x0 .line 56 invoke-static {v0, v1}, Lkotlin/time/Duration;->constructor-impl(J)J move-result-wide v0 sput-wide v0, Lkotlin/time/Duration;->ZERO:J const-wide v0, 0x3fffffffffffffffL # 1.9999999999999998 .line 59 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->access$durationOfMillis(J)J move-result-wide v0 sput-wide v0, Lkotlin/time/Duration;->INFINITE:J const-wide v0, -0x3fffffffffffffffL # -2.0000000000000004 .line 60 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->access$durationOfMillis(J)J move-result-wide v0 sput-wide v0, Lkotlin/time/Duration;->NEG_INFINITE:J return-void .end method .method private synthetic constructor (J)V .locals 0 .line 35 invoke-direct {p0}, Ljava/lang/Object;->()V iput-wide p1, p0, Lkotlin/time/Duration;->rawValue:J return-void .end method .method public static final synthetic access$getINFINITE$cp()J .locals 2 sget-wide v0, Lkotlin/time/Duration;->INFINITE:J return-wide v0 .end method .method public static final synthetic access$getNEG_INFINITE$cp()J .locals 2 sget-wide v0, Lkotlin/time/Duration;->NEG_INFINITE:J return-wide v0 .end method .method public static final synthetic access$getZERO$cp()J .locals 2 sget-wide v0, Lkotlin/time/Duration;->ZERO:J return-wide v0 .end method .method private static final addValuesMixedRanges-UwyO8pc(JJJ)J .locals 6 .line 495 invoke-static {p4, p5}, Lkotlin/time/DurationKt;->access$nanosToMillis(J)J move-result-wide p0 add-long v0, p2, p0 .line 497 new-instance p2, Lkotlin/ranges/LongRange; const-wide v2, -0x431bde82d7aL const-wide v4, 0x431bde82d7aL invoke-direct {p2, v2, v3, v4, v5}, Lkotlin/ranges/LongRange;->(JJ)V invoke-virtual {p2, v0, v1}, Lkotlin/ranges/LongRange;->contains(J)Z move-result p2 if-eqz p2, :cond_0 .line 498 invoke-static {p0, p1}, Lkotlin/time/DurationKt;->access$millisToNanos(J)J move-result-wide p0 sub-long/2addr p4, p0 .line 499 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->access$millisToNanos(J)J move-result-wide p0 add-long/2addr p0, p4 invoke-static {p0, p1}, Lkotlin/time/DurationKt;->access$durationOfNanos(J)J move-result-wide p0 goto :goto_0 :cond_0 const-wide v2, -0x3fffffffffffffffL # -2.0000000000000004 const-wide v4, 0x3fffffffffffffffL # 1.9999999999999998 .line 501 invoke-static/range {v0 .. v5}, Lkotlin/ranges/RangesKt;->coerceIn(JJJ)J move-result-wide p0 invoke-static {p0, p1}, Lkotlin/time/DurationKt;->access$durationOfMillis(J)J move-result-wide p0 :goto_0 return-wide p0 .end method .method private static final appendFractional-impl(JLjava/lang/StringBuilder;IIILjava/lang/String;Z)V .locals 1 .line 1017 invoke-virtual {p2, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; if-eqz p4, :cond_4 const/16 p0, 0x2e .line 1019 invoke-virtual {p2, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; .line 1020 invoke-static {p4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String; move-result-object p0 const/16 p1, 0x30 invoke-static {p0, p5, p1}, Lkotlin/text/StringsKt;->padStart(Ljava/lang/String;IC)Ljava/lang/String; move-result-object p0 .line 1021 check-cast p0, Ljava/lang/CharSequence; .line 1503 invoke-interface {p0}, Ljava/lang/CharSequence;->length()I move-result p3 const/4 p4, -0x1 add-int/2addr p3, p4 if-ltz p3, :cond_2 :goto_0 add-int/lit8 p5, p3, -0x1 .line 1504 invoke-interface {p0, p3}, Ljava/lang/CharSequence;->charAt(I)C move-result v0 if-eq v0, p1, :cond_0 move p4, p3 goto :goto_1 :cond_0 if-gez p5, :cond_1 goto :goto_1 :cond_1 move p3, p5 goto :goto_0 :cond_2 :goto_1 add-int/lit8 p1, p4, 0x1 const-string p3, "append(...)" const/4 p5, 0x0 const/4 v0, 0x3 if-nez p7, :cond_3 if-ge p1, v0, :cond_3 .line 1023 invoke-virtual {p2, p0, p5, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder; move-result-object p0 invoke-static {p0, p3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V goto :goto_2 :cond_3 add-int/2addr p4, v0 .line 1024 div-int/2addr p4, v0 mul-int/2addr p4, v0 invoke-virtual {p2, p0, p5, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder; move-result-object p0 invoke-static {p0, p3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V .line 1027 :cond_4 :goto_2 invoke-virtual {p2, p6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; return-void .end method .method public static final synthetic box-impl(J)Lkotlin/time/Duration; .locals 1 new-instance v0, Lkotlin/time/Duration; invoke-direct {v0, p0, p1}, Lkotlin/time/Duration;->(J)V return-object v0 .end method .method public static compareTo-LRDsOJo(JJ)I .locals 4 xor-long v0, p0, p2 const-wide/16 v2, 0x0 cmp-long v2, v0, v2 if-ltz v2, :cond_2 long-to-int v0, v0 and-int/lit8 v0, v0, 0x1 if-nez v0, :cond_0 goto :goto_0 :cond_0 long-to-int v0, p0 and-int/lit8 v0, v0, 0x1 long-to-int p2, p2 and-int/lit8 p2, p2, 0x1 sub-int/2addr v0, p2 .line 663 invoke-static {p0, p1}, Lkotlin/time/Duration;->isNegative-impl(J)Z move-result p0 if-eqz p0, :cond_1 neg-int v0, v0 :cond_1 return v0 .line 660 :cond_2 :goto_0 invoke-static {p0, p1, p2, p3}, Lkotlin/jvm/internal/Intrinsics;->compare(JJ)I move-result p0 return p0 .end method .method public static constructor-impl(J)J .locals 5 .line 44 invoke-static {}, Lkotlin/time/DurationJvmKt;->getDurationAssertionsEnabled()Z move-result v0 if-eqz v0, :cond_4 .line 45 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInNanos-impl(J)Z move-result v0 if-eqz v0, :cond_1 .line 46 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-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v1 invoke-virtual {v0, v1, v2}, Lkotlin/ranges/LongRange;->contains(J)Z move-result v0 if-eqz v0, :cond_0 goto/16 :goto_0 :cond_0 new-instance v0, Ljava/lang/AssertionError; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide p0 invoke-virtual {v1, p0, p1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; move-result-object p0 const-string p1, " ns is out of nanoseconds range" invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {v0, p0}, Ljava/lang/AssertionError;->(Ljava/lang/Object;)V throw v0 .line 48 :cond_1 new-instance v0, Lkotlin/ranges/LongRange; const-wide v1, -0x3fffffffffffffffL # -2.0000000000000004 const-wide v3, 0x3fffffffffffffffL # 1.9999999999999998 invoke-direct {v0, v1, v2, v3, v4}, Lkotlin/ranges/LongRange;->(JJ)V invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v1 invoke-virtual {v0, v1, v2}, Lkotlin/ranges/LongRange;->contains(J)Z move-result v0 if-eqz v0, :cond_3 .line 49 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-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v1 invoke-virtual {v0, v1, v2}, Lkotlin/ranges/LongRange;->contains(J)Z move-result v0 if-nez v0, :cond_2 goto :goto_0 :cond_2 new-instance v0, Ljava/lang/AssertionError; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide p0 invoke-virtual {v1, p0, p1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; move-result-object p0 const-string p1, " ms is denormalized" invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {v0, p0}, Ljava/lang/AssertionError;->(Ljava/lang/Object;)V throw v0 .line 48 :cond_3 new-instance v0, Ljava/lang/AssertionError; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide p0 invoke-virtual {v1, p0, p1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; move-result-object p0 const-string p1, " ms is out of milliseconds range" invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {v0, p0}, Ljava/lang/AssertionError;->(Ljava/lang/Object;)V throw v0 :cond_4 :goto_0 return-wide p0 .end method .method public static final div-LRDsOJo(JJ)D .locals 2 .line 627 invoke-static {p0, p1}, Lkotlin/time/Duration;->getStorageUnit-impl(J)Lkotlin/time/DurationUnit; move-result-object v0 check-cast v0, Ljava/lang/Comparable; invoke-static {p2, p3}, Lkotlin/time/Duration;->getStorageUnit-impl(J)Lkotlin/time/DurationUnit; move-result-object v1 check-cast v1, Ljava/lang/Comparable; invoke-static {v0, v1}, Lkotlin/comparisons/ComparisonsKt;->maxOf(Ljava/lang/Comparable;Ljava/lang/Comparable;)Ljava/lang/Comparable; move-result-object v0 check-cast v0, Lkotlin/time/DurationUnit; .line 628 invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p0 invoke-static {p2, p3, v0}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p2 div-double/2addr p0, p2 return-wide p0 .end method .method public static final div-UwyO8pc(JD)J .locals 3 .line 615 invoke-static {p2, p3}, Lkotlin/math/MathKt;->roundToInt(D)I move-result v0 int-to-double v1, v0 cmpg-double v1, v1, p2 if-nez v1, :cond_0 if-eqz v0, :cond_0 .line 617 invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->div-UwyO8pc(JI)J move-result-wide p0 return-wide p0 .line 620 :cond_0 invoke-static {p0, p1}, Lkotlin/time/Duration;->getStorageUnit-impl(J)Lkotlin/time/DurationUnit; move-result-object v0 .line 621 invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p0 div-double/2addr p0, p2 .line 622 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 div-UwyO8pc(JI)J .locals 8 if-nez p2, :cond_2 .line 587 invoke-static {p0, p1}, Lkotlin/time/Duration;->isPositive-impl(J)Z move-result p2 if-eqz p2, :cond_0 sget-wide p0, Lkotlin/time/Duration;->INFINITE:J goto :goto_0 .line 588 :cond_0 invoke-static {p0, p1}, Lkotlin/time/Duration;->isNegative-impl(J)Z move-result p0 if-eqz p0, :cond_1 sget-wide p0, Lkotlin/time/Duration;->NEG_INFINITE:J :goto_0 return-wide p0 .line 589 :cond_1 new-instance p0, Ljava/lang/IllegalArgumentException; const-string p1, "Dividing zero duration by zero yields an undefined result." invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p0 .line 592 :cond_2 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInNanos-impl(J)Z move-result v0 if-eqz v0, :cond_3 .line 593 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide p0 int-to-long v0, p2 div-long/2addr p0, v0 invoke-static {p0, p1}, Lkotlin/time/DurationKt;->access$durationOfNanos(J)J move-result-wide p0 return-wide p0 .line 595 :cond_3 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInfinite-impl(J)Z move-result v0 if-eqz v0, :cond_4 .line 596 invoke-static {p2}, Lkotlin/math/MathKt;->getSign(I)I move-result p2 invoke-static {p0, p1, p2}, Lkotlin/time/Duration;->times-UwyO8pc(JI)J move-result-wide p0 return-wide p0 .line 598 :cond_4 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v0 int-to-long v2, p2 div-long/2addr v0, v2 .line 600 new-instance p2, Lkotlin/ranges/LongRange; const-wide v4, -0x431bde82d7aL const-wide v6, 0x431bde82d7aL invoke-direct {p2, v4, v5, v6, v7}, Lkotlin/ranges/LongRange;->(JJ)V invoke-virtual {p2, v0, v1}, Lkotlin/ranges/LongRange;->contains(J)Z move-result p2 if-eqz p2, :cond_5 .line 601 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide p0 mul-long v4, v0, v2 sub-long/2addr p0, v4 invoke-static {p0, p1}, Lkotlin/time/DurationKt;->access$millisToNanos(J)J move-result-wide p0 div-long/2addr p0, v2 .line 602 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->access$millisToNanos(J)J move-result-wide v0 add-long/2addr v0, p0 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->access$durationOfNanos(J)J move-result-wide p0 return-wide p0 .line 604 :cond_5 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->access$durationOfMillis(J)J move-result-wide p0 return-wide p0 .end method .method public static equals-impl(JLjava/lang/Object;)Z .locals 4 instance-of v0, p2, Lkotlin/time/Duration; const/4 v1, 0x0 if-nez v0, :cond_0 return v1 :cond_0 check-cast p2, Lkotlin/time/Duration; invoke-virtual {p2}, Lkotlin/time/Duration;->unbox-impl()J move-result-wide v2 cmp-long p0, p0, v2 if-eqz p0, :cond_1 return v1 :cond_1 const/4 p0, 0x1 return p0 .end method .method public static final equals-impl0(JJ)Z .locals 0 cmp-long p0, p0, p2 if-nez p0, :cond_0 const/4 p0, 0x1 goto :goto_0 :cond_0 const/4 p0, 0x0 :goto_0 return p0 .end method .method public static final getAbsoluteValue-UwyO8pc(J)J .locals 1 .line 655 invoke-static {p0, p1}, Lkotlin/time/Duration;->isNegative-impl(J)Z move-result v0 if-eqz v0, :cond_0 invoke-static {p0, p1}, Lkotlin/time/Duration;->unaryMinus-UwyO8pc(J)J move-result-wide p0 :cond_0 return-wide p0 .end method .method public static synthetic getHoursComponent$annotations()V .locals 0 return-void .end method .method public static final getHoursComponent-impl(J)I .locals 2 .line 737 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInfinite-impl(J)Z move-result v0 if-eqz v0, :cond_0 const/4 p0, 0x0 goto :goto_0 :cond_0 invoke-static {p0, p1}, Lkotlin/time/Duration;->getInWholeHours-impl(J)J move-result-wide p0 const/16 v0, 0x18 int-to-long v0, v0 rem-long/2addr p0, v0 long-to-int p0, p0 :goto_0 return p0 .end method .method public static synthetic getInDays$annotations()V .locals 0 .annotation runtime Lkotlin/Deprecated; message = "Use inWholeDays property instead or convert toDouble(DAYS) if a double value is required." replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "toDouble(DurationUnit.DAYS)" imports = {} .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 getInDays-impl(J)D .locals 1 .line 809 sget-object v0, Lkotlin/time/DurationUnit;->DAYS:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p0 return-wide p0 .end method .method public static synthetic getInHours$annotations()V .locals 0 .annotation runtime Lkotlin/Deprecated; message = "Use inWholeHours property instead or convert toDouble(HOURS) if a double value is required." replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "toDouble(DurationUnit.HOURS)" imports = {} .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 getInHours-impl(J)D .locals 1 .line 815 sget-object v0, Lkotlin/time/DurationUnit;->HOURS:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p0 return-wide p0 .end method .method public static synthetic getInMicroseconds$annotations()V .locals 0 .annotation runtime Lkotlin/Deprecated; message = "Use inWholeMicroseconds property instead or convert toDouble(MICROSECONDS) if a double value is required." replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "toDouble(DurationUnit.MICROSECONDS)" imports = {} .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 getInMicroseconds-impl(J)D .locals 1 .line 839 sget-object v0, Lkotlin/time/DurationUnit;->MICROSECONDS:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p0 return-wide p0 .end method .method public static synthetic getInMilliseconds$annotations()V .locals 0 .annotation runtime Lkotlin/Deprecated; message = "Use inWholeMilliseconds property instead or convert toDouble(MILLISECONDS) if a double value is required." replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "toDouble(DurationUnit.MILLISECONDS)" imports = {} .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 getInMilliseconds-impl(J)D .locals 1 .line 833 sget-object v0, Lkotlin/time/DurationUnit;->MILLISECONDS:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p0 return-wide p0 .end method .method public static synthetic getInMinutes$annotations()V .locals 0 .annotation runtime Lkotlin/Deprecated; message = "Use inWholeMinutes property instead or convert toDouble(MINUTES) if a double value is required." replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "toDouble(DurationUnit.MINUTES)" imports = {} .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 getInMinutes-impl(J)D .locals 1 .line 821 sget-object v0, Lkotlin/time/DurationUnit;->MINUTES:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p0 return-wide p0 .end method .method public static synthetic getInNanoseconds$annotations()V .locals 0 .annotation runtime Lkotlin/Deprecated; message = "Use inWholeNanoseconds property instead or convert toDouble(NANOSECONDS) if a double value is required." replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "toDouble(DurationUnit.NANOSECONDS)" imports = {} .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 getInNanoseconds-impl(J)D .locals 1 .line 845 sget-object v0, Lkotlin/time/DurationUnit;->NANOSECONDS:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p0 return-wide p0 .end method .method public static synthetic getInSeconds$annotations()V .locals 0 .annotation runtime Lkotlin/Deprecated; message = "Use inWholeSeconds property instead or convert toDouble(SECONDS) if a double value is required." replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "toDouble(DurationUnit.SECONDS)" imports = {} .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 getInSeconds-impl(J)D .locals 1 .line 827 sget-object v0, Lkotlin/time/DurationUnit;->SECONDS:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p0 return-wide p0 .end method .method public static final getInWholeDays-impl(J)J .locals 1 .line 854 sget-object v0, Lkotlin/time/DurationUnit;->DAYS:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toLong-impl(JLkotlin/time/DurationUnit;)J move-result-wide p0 return-wide p0 .end method .method public static final getInWholeHours-impl(J)J .locals 1 .line 862 sget-object v0, Lkotlin/time/DurationUnit;->HOURS:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toLong-impl(JLkotlin/time/DurationUnit;)J move-result-wide p0 return-wide p0 .end method .method public static final getInWholeMicroseconds-impl(J)J .locals 1 .line 900 sget-object v0, Lkotlin/time/DurationUnit;->MICROSECONDS:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toLong-impl(JLkotlin/time/DurationUnit;)J move-result-wide p0 return-wide p0 .end method .method public static final getInWholeMilliseconds-impl(J)J .locals 1 .line 887 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInMillis-impl(J)Z move-result v0 if-eqz v0, :cond_0 invoke-static {p0, p1}, Lkotlin/time/Duration;->isFinite-impl(J)Z move-result v0 if-eqz v0, :cond_0 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide p0 goto :goto_0 :cond_0 sget-object v0, Lkotlin/time/DurationUnit;->MILLISECONDS:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toLong-impl(JLkotlin/time/DurationUnit;)J move-result-wide p0 :goto_0 return-wide p0 .end method .method public static final getInWholeMinutes-impl(J)J .locals 1 .line 870 sget-object v0, Lkotlin/time/DurationUnit;->MINUTES:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toLong-impl(JLkotlin/time/DurationUnit;)J move-result-wide p0 return-wide p0 .end method .method public static final getInWholeNanoseconds-impl(J)J .locals 2 .line 913 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v0 .line 915 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInNanos-impl(J)Z move-result p0 if-eqz p0, :cond_0 goto :goto_0 :cond_0 const-wide p0, 0x8637bd05af6L cmp-long p0, v0, p0 if-lez p0, :cond_1 const-wide v0, 0x7fffffffffffffffL goto :goto_0 :cond_1 const-wide p0, -0x8637bd05af6L cmp-long p0, v0, p0 if-gez p0, :cond_2 const-wide/high16 v0, -0x8000000000000000L goto :goto_0 .line 918 :cond_2 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->access$millisToNanos(J)J move-result-wide v0 :goto_0 return-wide v0 .end method .method public static final getInWholeSeconds-impl(J)J .locals 1 .line 878 sget-object v0, Lkotlin/time/DurationUnit;->SECONDS:Lkotlin/time/DurationUnit; invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toLong-impl(JLkotlin/time/DurationUnit;)J move-result-wide p0 return-wide p0 .end method .method public static synthetic getMinutesComponent$annotations()V .locals 0 return-void .end method .method public static final getMinutesComponent-impl(J)I .locals 2 .line 741 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInfinite-impl(J)Z move-result v0 if-eqz v0, :cond_0 const/4 p0, 0x0 goto :goto_0 :cond_0 invoke-static {p0, p1}, Lkotlin/time/Duration;->getInWholeMinutes-impl(J)J move-result-wide p0 const/16 v0, 0x3c int-to-long v0, v0 rem-long/2addr p0, v0 long-to-int p0, p0 :goto_0 return p0 .end method .method public static synthetic getNanosecondsComponent$annotations()V .locals 0 return-void .end method .method public static final getNanosecondsComponent-impl(J)I .locals 2 .line 750 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInfinite-impl(J)Z move-result v0 if-eqz v0, :cond_0 const/4 p0, 0x0 goto :goto_1 .line 751 :cond_0 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInMillis-impl(J)Z move-result v0 if-eqz v0, :cond_1 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide p0 const/16 v0, 0x3e8 int-to-long v0, v0 rem-long/2addr p0, v0 invoke-static {p0, p1}, Lkotlin/time/DurationKt;->access$millisToNanos(J)J move-result-wide p0 goto :goto_0 .line 752 :cond_1 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide p0 const v0, 0x3b9aca00 int-to-long v0, v0 rem-long/2addr p0, v0 :goto_0 long-to-int p0, p0 :goto_1 return p0 .end method .method public static synthetic getSecondsComponent$annotations()V .locals 0 return-void .end method .method public static final getSecondsComponent-impl(J)I .locals 2 .line 745 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInfinite-impl(J)Z move-result v0 if-eqz v0, :cond_0 const/4 p0, 0x0 goto :goto_0 :cond_0 invoke-static {p0, p1}, Lkotlin/time/Duration;->getInWholeSeconds-impl(J)J move-result-wide p0 const/16 v0, 0x3c int-to-long v0, v0 rem-long/2addr p0, v0 long-to-int p0, p0 :goto_0 return p0 .end method .method private static final getStorageUnit-impl(J)Lkotlin/time/DurationUnit; .locals 0 .line 41 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInNanos-impl(J)Z move-result p0 if-eqz p0, :cond_0 sget-object p0, Lkotlin/time/DurationUnit;->NANOSECONDS:Lkotlin/time/DurationUnit; goto :goto_0 :cond_0 sget-object p0, Lkotlin/time/DurationUnit;->MILLISECONDS:Lkotlin/time/DurationUnit; :goto_0 return-object p0 .end method .method private static final getUnitDiscriminator-impl(J)I .locals 0 long-to-int p0, p0 and-int/lit8 p0, p0, 0x1 return p0 .end method .method private static final getValue-impl(J)J .locals 1 const/4 v0, 0x1 shr-long/2addr p0, v0 return-wide p0 .end method .method public static hashCode-impl(J)I .locals 0 invoke-static {p0, p1}, Ljava/lang/Long;->hashCode(J)I move-result p0 return p0 .end method .method public static final isFinite-impl(J)Z .locals 0 .line 652 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInfinite-impl(J)Z move-result p0 xor-int/lit8 p0, p0, 0x1 return p0 .end method .method private static final isInMillis-impl(J)Z .locals 0 long-to-int p0, p0 const/4 p1, 0x1 and-int/2addr p0, p1 if-ne p0, p1, :cond_0 goto :goto_0 :cond_0 const/4 p1, 0x0 :goto_0 return p1 .end method .method private static final isInNanos-impl(J)Z .locals 0 long-to-int p0, p0 const/4 p1, 0x1 and-int/2addr p0, p1 if-nez p0, :cond_0 goto :goto_0 :cond_0 const/4 p1, 0x0 :goto_0 return p1 .end method .method public static final isInfinite-impl(J)Z .locals 2 sget-wide v0, Lkotlin/time/Duration;->INFINITE:J cmp-long v0, p0, v0 if-eqz v0, :cond_1 sget-wide v0, Lkotlin/time/Duration;->NEG_INFINITE:J cmp-long p0, p0, v0 if-nez p0, :cond_0 goto :goto_0 :cond_0 const/4 p0, 0x0 goto :goto_1 :cond_1 :goto_0 const/4 p0, 0x1 :goto_1 return p0 .end method .method public static final isNegative-impl(J)Z .locals 2 const-wide/16 v0, 0x0 cmp-long p0, p0, v0 if-gez p0, :cond_0 const/4 p0, 0x1 goto :goto_0 :cond_0 const/4 p0, 0x0 :goto_0 return p0 .end method .method public static final isPositive-impl(J)Z .locals 2 const-wide/16 v0, 0x0 cmp-long p0, p0, v0 if-lez p0, :cond_0 const/4 p0, 0x1 goto :goto_0 :cond_0 const/4 p0, 0x0 :goto_0 return p0 .end method .method public static final minus-LRDsOJo(JJ)J .locals 0 .line 511 invoke-static {p2, p3}, Lkotlin/time/Duration;->unaryMinus-UwyO8pc(J)J move-result-wide p2 invoke-static {p0, p1, p2, p3}, Lkotlin/time/Duration;->plus-LRDsOJo(JJ)J move-result-wide p0 return-wide p0 .end method .method public static final plus-LRDsOJo(JJ)J .locals 7 .line 468 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInfinite-impl(J)Z move-result v0 if-eqz v0, :cond_2 .line 469 invoke-static {p2, p3}, Lkotlin/time/Duration;->isFinite-impl(J)Z move-result v0 if-nez v0, :cond_1 xor-long/2addr p2, p0 const-wide/16 v0, 0x0 cmp-long p2, p2, v0 if-ltz p2, :cond_0 goto :goto_0 .line 472 :cond_0 new-instance p0, Ljava/lang/IllegalArgumentException; const-string p1, "Summing infinite durations of different signs yields an undefined result." invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p0 :cond_1 :goto_0 return-wide p0 .line 474 :cond_2 invoke-static {p2, p3}, Lkotlin/time/Duration;->isInfinite-impl(J)Z move-result v0 if-eqz v0, :cond_3 return-wide p2 :cond_3 long-to-int v0, p0 and-int/lit8 v0, v0, 0x1 long-to-int v1, p2 and-int/lit8 v1, v1, 0x1 if-ne v0, v1, :cond_5 .line 479 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v0 invoke-static {p2, p3}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide p2 add-long/2addr v0, p2 .line 481 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInNanos-impl(J)Z move-result p0 if-eqz p0, :cond_4 .line 482 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->access$durationOfNanosNormalized(J)J move-result-wide p0 goto :goto_1 .line 484 :cond_4 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->access$durationOfMillisNormalized(J)J move-result-wide p0 goto :goto_1 .line 487 :cond_5 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInMillis-impl(J)Z move-result v0 if-eqz v0, :cond_6 .line 488 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v3 invoke-static {p2, p3}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v5 move-wide v1, p0 invoke-static/range {v1 .. v6}, Lkotlin/time/Duration;->addValuesMixedRanges-UwyO8pc(JJJ)J move-result-wide p0 goto :goto_1 .line 490 :cond_6 invoke-static {p2, p3}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v2 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v4 move-wide v0, p0 invoke-static/range {v0 .. v5}, Lkotlin/time/Duration;->addValuesMixedRanges-UwyO8pc(JJJ)J move-result-wide p0 :goto_1 return-wide p0 .end method .method public static final times-UwyO8pc(JD)J .locals 3 .line 568 invoke-static {p2, p3}, Lkotlin/math/MathKt;->roundToInt(D)I move-result v0 int-to-double v1, v0 cmpg-double v1, v1, p2 if-nez v1, :cond_0 .line 570 invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->times-UwyO8pc(JI)J move-result-wide p0 return-wide p0 .line 573 :cond_0 invoke-static {p0, p1}, Lkotlin/time/Duration;->getStorageUnit-impl(J)Lkotlin/time/DurationUnit; move-result-object v0 .line 574 invoke-static {p0, p1, v0}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p0 mul-double/2addr p0, p2 .line 575 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 times-UwyO8pc(JI)J .locals 16 move/from16 v0, p2 .line 520 invoke-static/range {p0 .. p1}, Lkotlin/time/Duration;->isInfinite-impl(J)Z move-result v1 if-eqz v1, :cond_2 if-eqz v0, :cond_1 if-lez v0, :cond_0 move-wide/from16 v0, p0 goto :goto_0 .line 524 :cond_0 invoke-static/range {p0 .. p1}, Lkotlin/time/Duration;->unaryMinus-UwyO8pc(J)J move-result-wide v0 :goto_0 return-wide v0 .line 522 :cond_1 new-instance v0, Ljava/lang/IllegalArgumentException; const-string v1, "Multiplying infinite duration by zero yields an undefined result." invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw v0 :cond_2 if-nez v0, :cond_3 sget-wide v0, Lkotlin/time/Duration;->ZERO:J return-wide v0 .line 529 :cond_3 invoke-static/range {p0 .. p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v1 int-to-long v3, v0 mul-long v5, v1, v3 .line 531 invoke-static/range {p0 .. p1}, Lkotlin/time/Duration;->isInNanos-impl(J)Z move-result v7 const-wide v8, 0x3fffffffffffffffL # 1.9999999999999998 const-wide v10, -0x3fffffffffffffffL # -2.0000000000000004 if-eqz v7, :cond_8 .line 532 new-instance v7, Lkotlin/ranges/LongRange; const-wide/32 v12, -0x7fffffff const-wide/32 v14, 0x7fffffff invoke-direct {v7, v12, v13, v14, v15}, Lkotlin/ranges/LongRange;->(JJ)V invoke-virtual {v7, v1, v2}, Lkotlin/ranges/LongRange;->contains(J)Z move-result v7 if-eqz v7, :cond_4 .line 534 invoke-static {v5, v6}, Lkotlin/time/DurationKt;->access$durationOfNanos(J)J move-result-wide v0 goto/16 :goto_1 .line 536 :cond_4 div-long v12, v5, v3 cmp-long v7, v12, v1 if-nez v7, :cond_5 .line 537 invoke-static {v5, v6}, Lkotlin/time/DurationKt;->access$durationOfNanosNormalized(J)J move-result-wide v0 goto :goto_1 .line 539 :cond_5 invoke-static {v1, v2}, Lkotlin/time/DurationKt;->access$nanosToMillis(J)J move-result-wide v5 .line 540 invoke-static {v5, v6}, Lkotlin/time/DurationKt;->access$millisToNanos(J)J move-result-wide v12 sub-long v12, v1, v12 mul-long v14, v5, v3 mul-long/2addr v12, v3 .line 542 invoke-static {v12, v13}, Lkotlin/time/DurationKt;->access$nanosToMillis(J)J move-result-wide v12 add-long/2addr v12, v14 .line 543 div-long v3, v14, v3 cmp-long v3, v3, v5 if-nez v3, :cond_6 xor-long v3, v12, v14 const-wide/16 v5, 0x0 cmp-long v3, v3, v5 if-ltz v3, :cond_6 .line 544 new-instance v0, Lkotlin/ranges/LongRange; invoke-direct {v0, v10, v11, v8, v9}, Lkotlin/ranges/LongRange;->(JJ)V check-cast v0, Lkotlin/ranges/ClosedRange; invoke-static {v12, v13, v0}, Lkotlin/ranges/RangesKt;->coerceIn(JLkotlin/ranges/ClosedRange;)J move-result-wide v0 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->access$durationOfMillis(J)J move-result-wide v0 goto :goto_1 .line 546 :cond_6 invoke-static {v1, v2}, Lkotlin/math/MathKt;->getSign(J)I move-result v1 invoke-static/range {p2 .. p2}, Lkotlin/math/MathKt;->getSign(I)I move-result v0 mul-int/2addr v1, v0 if-lez v1, :cond_7 sget-wide v0, Lkotlin/time/Duration;->INFINITE:J goto :goto_1 :cond_7 sget-wide v0, Lkotlin/time/Duration;->NEG_INFINITE:J goto :goto_1 .line 551 :cond_8 div-long v3, v5, v3 cmp-long v3, v3, v1 if-nez v3, :cond_9 .line 552 new-instance v0, Lkotlin/ranges/LongRange; invoke-direct {v0, v10, v11, v8, v9}, Lkotlin/ranges/LongRange;->(JJ)V check-cast v0, Lkotlin/ranges/ClosedRange; invoke-static {v5, v6, v0}, Lkotlin/ranges/RangesKt;->coerceIn(JLkotlin/ranges/ClosedRange;)J move-result-wide v0 invoke-static {v0, v1}, Lkotlin/time/DurationKt;->access$durationOfMillis(J)J move-result-wide v0 goto :goto_1 .line 554 :cond_9 invoke-static {v1, v2}, Lkotlin/math/MathKt;->getSign(J)I move-result v1 invoke-static/range {p2 .. p2}, Lkotlin/math/MathKt;->getSign(I)I move-result v0 mul-int/2addr v1, v0 if-lez v1, :cond_a sget-wide v0, Lkotlin/time/Duration;->INFINITE:J goto :goto_1 :cond_a sget-wide v0, Lkotlin/time/Duration;->NEG_INFINITE:J :goto_1 return-wide v0 .end method .method public static final toComponents-impl(JLkotlin/jvm/functions/Function2;)Ljava/lang/Object; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(J", "Lkotlin/jvm/functions/Function2<", "-", "Ljava/lang/Long;", "-", "Ljava/lang/Integer;", "+TT;>;)TT;" } .end annotation const-string v0, "action" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 732 invoke-static {p0, p1}, Lkotlin/time/Duration;->getInWholeSeconds-impl(J)J move-result-wide v0 invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object v0 invoke-static {p0, p1}, Lkotlin/time/Duration;->getNanosecondsComponent-impl(J)I move-result p0 invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p0 invoke-interface {p2, v0, p0}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 return-object p0 .end method .method public static final toComponents-impl(JLkotlin/jvm/functions/Function3;)Ljava/lang/Object; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(J", "Lkotlin/jvm/functions/Function3<", "-", "Ljava/lang/Long;", "-", "Ljava/lang/Integer;", "-", "Ljava/lang/Integer;", "+TT;>;)TT;" } .end annotation const-string v0, "action" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 717 invoke-static {p0, p1}, Lkotlin/time/Duration;->getInWholeMinutes-impl(J)J move-result-wide v0 invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object v0 invoke-static {p0, p1}, Lkotlin/time/Duration;->getSecondsComponent-impl(J)I move-result v1 invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v1 invoke-static {p0, p1}, Lkotlin/time/Duration;->getNanosecondsComponent-impl(J)I move-result p0 invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p0 invoke-interface {p2, v0, v1, p0}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 return-object p0 .end method .method public static final toComponents-impl(JLkotlin/jvm/functions/Function4;)Ljava/lang/Object; .locals 3 .annotation system Ldalvik/annotation/Signature; value = { "(J", "Lkotlin/jvm/functions/Function4<", "-", "Ljava/lang/Long;", "-", "Ljava/lang/Integer;", "-", "Ljava/lang/Integer;", "-", "Ljava/lang/Integer;", "+TT;>;)TT;" } .end annotation const-string v0, "action" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 701 invoke-static {p0, p1}, Lkotlin/time/Duration;->getInWholeHours-impl(J)J move-result-wide v0 invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object v0 invoke-static {p0, p1}, Lkotlin/time/Duration;->getMinutesComponent-impl(J)I move-result v1 invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v1 invoke-static {p0, p1}, Lkotlin/time/Duration;->getSecondsComponent-impl(J)I move-result v2 invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v2 invoke-static {p0, p1}, Lkotlin/time/Duration;->getNanosecondsComponent-impl(J)I move-result p0 invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object p0 invoke-interface {p2, v0, v1, v2, p0}, Lkotlin/jvm/functions/Function4;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 return-object p0 .end method .method public static final toComponents-impl(JLkotlin/jvm/functions/Function5;)Ljava/lang/Object; .locals 8 .annotation system Ldalvik/annotation/Signature; value = { "(J", "Lkotlin/jvm/functions/Function5<", "-", "Ljava/lang/Long;", "-", "Ljava/lang/Integer;", "-", "Ljava/lang/Integer;", "-", "Ljava/lang/Integer;", "-", "Ljava/lang/Integer;", "+TT;>;)TT;" } .end annotation const-string v0, "action" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 684 invoke-static {p0, p1}, Lkotlin/time/Duration;->getInWholeDays-impl(J)J move-result-wide v0 invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object v3 invoke-static {p0, p1}, Lkotlin/time/Duration;->getHoursComponent-impl(J)I move-result v0 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v4 invoke-static {p0, p1}, Lkotlin/time/Duration;->getMinutesComponent-impl(J)I move-result v0 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v5 invoke-static {p0, p1}, Lkotlin/time/Duration;->getSecondsComponent-impl(J)I move-result v0 invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v6 invoke-static {p0, p1}, Lkotlin/time/Duration;->getNanosecondsComponent-impl(J)I move-result p0 invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v7 move-object v2, p2 invoke-interface/range {v2 .. v7}, Lkotlin/jvm/functions/Function5;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; move-result-object p0 return-object p0 .end method .method public static final toDouble-impl(JLkotlin/time/DurationUnit;)D .locals 2 const-string v0, "unit" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V sget-wide v0, Lkotlin/time/Duration;->INFINITE:J cmp-long v0, p0, v0 if-nez v0, :cond_0 const-wide/high16 p0, 0x7ff0000000000000L # Double.POSITIVE_INFINITY goto :goto_0 :cond_0 sget-wide v0, Lkotlin/time/Duration;->NEG_INFINITE:J cmp-long v0, p0, v0 if-nez v0, :cond_1 const-wide/high16 p0, -0x10000000000000L # Double.NEGATIVE_INFINITY goto :goto_0 .line 771 :cond_1 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v0 long-to-double v0, v0 invoke-static {p0, p1}, Lkotlin/time/Duration;->getStorageUnit-impl(J)Lkotlin/time/DurationUnit; move-result-object p0 invoke-static {v0, v1, p0, p2}, Lkotlin/time/DurationUnitKt;->convertDurationUnit(DLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)D move-result-wide p0 :goto_0 return-wide p0 .end method .method public static final toInt-impl(JLkotlin/time/DurationUnit;)I .locals 7 const-string v0, "unit" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 803 invoke-static {p0, p1, p2}, Lkotlin/time/Duration;->toLong-impl(JLkotlin/time/DurationUnit;)J move-result-wide v1 const-wide/32 v3, -0x80000000 const-wide/32 v5, 0x7fffffff invoke-static/range {v1 .. v6}, Lkotlin/ranges/RangesKt;->coerceIn(JJJ)J move-result-wide p0 long-to-int p0, p0 return p0 .end method .method public static final toIsoString-impl(J)Ljava/lang/String; .locals 11 .line 1067 new-instance v8, Ljava/lang/StringBuilder; invoke-direct {v8}, Ljava/lang/StringBuilder;->()V .line 1068 invoke-static {p0, p1}, Lkotlin/time/Duration;->isNegative-impl(J)Z move-result v0 if-eqz v0, :cond_0 const/16 v0, 0x2d invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; :cond_0 const-string v0, "PT" .line 1069 invoke-virtual {v8, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; .line 1070 invoke-static {p0, p1}, Lkotlin/time/Duration;->getAbsoluteValue-UwyO8pc(J)J move-result-wide v0 .line 1511 invoke-static {v0, v1}, Lkotlin/time/Duration;->getInWholeHours-impl(J)J move-result-wide v2 invoke-static {v0, v1}, Lkotlin/time/Duration;->getMinutesComponent-impl(J)I move-result v4 invoke-static {v0, v1}, Lkotlin/time/Duration;->getSecondsComponent-impl(J)I move-result v5 invoke-static {v0, v1}, Lkotlin/time/Duration;->getNanosecondsComponent-impl(J)I move-result v6 .line 1073 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInfinite-impl(J)Z move-result v0 if-eqz v0, :cond_1 const-wide v2, 0x9184e729fffL :cond_1 const-wide/16 v0, 0x0 cmp-long v0, v2, v0 const/4 v1, 0x1 const/4 v7, 0x0 if-eqz v0, :cond_2 move v0, v1 goto :goto_0 :cond_2 move v0, v7 :goto_0 if-nez v5, :cond_4 if-eqz v6, :cond_3 goto :goto_1 :cond_3 move v9, v7 goto :goto_2 :cond_4 :goto_1 move v9, v1 :goto_2 if-nez v4, :cond_6 if-eqz v9, :cond_5 if-eqz v0, :cond_5 goto :goto_3 :cond_5 move v1, v7 :cond_6 :goto_3 if-eqz v0, :cond_7 .line 1081 invoke-virtual {v8, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; move-result-object v2 const/16 v3, 0x48 invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; :cond_7 if-eqz v1, :cond_8 .line 1084 invoke-virtual {v8, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; move-result-object v2 const/16 v3, 0x4d invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; :cond_8 if-nez v9, :cond_9 if-nez v0, :cond_a if-nez v1, :cond_a :cond_9 const/16 v7, 0x9 const-string v9, "S" const/4 v10, 0x1 move-wide v0, p0 move-object v2, v8 move v3, v5 move v4, v6 move v5, v7 move-object v6, v9 move v7, v10 .line 1087 invoke-static/range {v0 .. v7}, Lkotlin/time/Duration;->appendFractional-impl(JLjava/lang/StringBuilder;IIILjava/lang/String;Z)V .line 1067 :cond_a invoke-virtual {v8}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 const-string p1, "toString(...)" invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V return-object p0 .end method .method public static final toLong-impl(JLkotlin/time/DurationUnit;)J .locals 2 const-string v0, "unit" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V sget-wide v0, Lkotlin/time/Duration;->INFINITE:J cmp-long v0, p0, v0 if-nez v0, :cond_0 const-wide p0, 0x7fffffffffffffffL goto :goto_0 :cond_0 sget-wide v0, Lkotlin/time/Duration;->NEG_INFINITE:J cmp-long v0, p0, v0 if-nez v0, :cond_1 const-wide/high16 p0, -0x8000000000000000L goto :goto_0 .line 789 :cond_1 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v0 invoke-static {p0, p1}, Lkotlin/time/Duration;->getStorageUnit-impl(J)Lkotlin/time/DurationUnit; move-result-object p0 invoke-static {v0, v1, p0, p2}, Lkotlin/time/DurationUnitKt;->convertDurationUnit(JLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)J move-result-wide p0 :goto_0 return-wide p0 .end method .method public static final synthetic toLongMilliseconds-impl(J)J .locals 0 .annotation runtime Lkotlin/Deprecated; message = "Use inWholeMilliseconds property instead." replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "this.inWholeMilliseconds" imports = {} .end subannotation .end annotation .annotation runtime Lkotlin/DeprecatedSinceKotlin; errorSince = "1.8" hiddenSince = "1.9" warningSince = "1.5" .end annotation .line 946 invoke-static {p0, p1}, Lkotlin/time/Duration;->getInWholeMilliseconds-impl(J)J move-result-wide p0 return-wide p0 .end method .method public static final synthetic toLongNanoseconds-impl(J)J .locals 0 .annotation runtime Lkotlin/Deprecated; message = "Use inWholeNanoseconds property instead." replaceWith = .subannotation Lkotlin/ReplaceWith; expression = "this.inWholeNanoseconds" imports = {} .end subannotation .end annotation .annotation runtime Lkotlin/DeprecatedSinceKotlin; errorSince = "1.8" hiddenSince = "1.9" warningSince = "1.5" .end annotation .line 934 invoke-static {p0, p1}, Lkotlin/time/Duration;->getInWholeNanoseconds-impl(J)J move-result-wide p0 return-wide p0 .end method .method public static toString-impl(J)Ljava/lang/String; .locals 14 const-wide/16 v0, 0x0 cmp-long v2, p0, v0 if-nez v2, :cond_0 const-string p0, "0s" goto/16 :goto_7 :cond_0 sget-wide v2, Lkotlin/time/Duration;->INFINITE:J cmp-long v2, p0, v2 if-nez v2, :cond_1 const-string p0, "Infinity" goto/16 :goto_7 :cond_1 sget-wide v2, Lkotlin/time/Duration;->NEG_INFINITE:J cmp-long v2, p0, v2 if-nez v2, :cond_2 const-string p0, "-Infinity" goto/16 :goto_7 .line 976 :cond_2 invoke-static {p0, p1}, Lkotlin/time/Duration;->isNegative-impl(J)Z move-result v2 .line 977 new-instance v11, Ljava/lang/StringBuilder; invoke-direct {v11}, Ljava/lang/StringBuilder;->()V if-eqz v2, :cond_3 const/16 v3, 0x2d .line 978 invoke-virtual {v11, v3}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; .line 979 :cond_3 invoke-static {p0, p1}, Lkotlin/time/Duration;->getAbsoluteValue-UwyO8pc(J)J move-result-wide v3 .line 1502 invoke-static {v3, v4}, Lkotlin/time/Duration;->getInWholeDays-impl(J)J move-result-wide v5 invoke-static {v3, v4}, Lkotlin/time/Duration;->getHoursComponent-impl(J)I move-result v7 invoke-static {v3, v4}, Lkotlin/time/Duration;->getMinutesComponent-impl(J)I move-result v8 invoke-static {v3, v4}, Lkotlin/time/Duration;->getSecondsComponent-impl(J)I move-result v9 invoke-static {v3, v4}, Lkotlin/time/Duration;->getNanosecondsComponent-impl(J)I move-result v10 cmp-long v0, v5, v0 const/4 v1, 0x0 const/4 v12, 0x1 if-eqz v0, :cond_4 move v0, v12 goto :goto_0 :cond_4 move v0, v1 :goto_0 if-eqz v7, :cond_5 move v3, v12 goto :goto_1 :cond_5 move v3, v1 :goto_1 if-eqz v8, :cond_6 move v4, v12 goto :goto_2 :cond_6 move v4, v1 :goto_2 if-nez v9, :cond_8 if-eqz v10, :cond_7 goto :goto_3 :cond_7 move v13, v1 goto :goto_4 :cond_8 :goto_3 move v13, v12 :goto_4 if-eqz v0, :cond_9 .line 986 invoke-virtual {v11, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder; move-result-object v1 const/16 v5, 0x64 invoke-virtual {v1, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move v1, v12 :cond_9 const/16 v5, 0x20 if-nez v3, :cond_a if-eqz v0, :cond_c if-nez v4, :cond_a if-eqz v13, :cond_c :cond_a add-int/lit8 v6, v1, 0x1 if-lez v1, :cond_b .line 990 invoke-virtual {v11, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; .line 991 :cond_b invoke-virtual {v11, v7}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; move-result-object v1 const/16 v7, 0x68 invoke-virtual {v1, v7}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move v1, v6 :cond_c if-nez v4, :cond_d if-eqz v13, :cond_f if-nez v3, :cond_d if-eqz v0, :cond_f :cond_d add-int/lit8 v6, v1, 0x1 if-lez v1, :cond_e .line 994 invoke-virtual {v11, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; .line 995 :cond_e invoke-virtual {v11, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; move-result-object v1 const/16 v7, 0x6d invoke-virtual {v1, v7}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; move v1, v6 :cond_f if-eqz v13, :cond_15 add-int/lit8 v13, v1, 0x1 if-lez v1, :cond_10 .line 998 invoke-virtual {v11, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; :cond_10 if-nez v9, :cond_14 if-nez v0, :cond_14 if-nez v3, :cond_14 if-eqz v4, :cond_11 goto :goto_5 :cond_11 const v0, 0xf4240 if-lt v10, v0, :cond_12 .line 1003 div-int v6, v10, v0 rem-int v7, v10, v0 const/4 v8, 0x6 const-string v9, "ms" const/4 v10, 0x0 move-wide v3, p0 move-object v5, v11 invoke-static/range {v3 .. v10}, Lkotlin/time/Duration;->appendFractional-impl(JLjava/lang/StringBuilder;IIILjava/lang/String;Z)V goto :goto_6 :cond_12 const/16 v0, 0x3e8 if-lt v10, v0, :cond_13 .line 1005 div-int/lit16 v6, v10, 0x3e8 rem-int/lit16 v7, v10, 0x3e8 const/4 v8, 0x3 const-string v9, "us" const/4 v10, 0x0 move-wide v3, p0 move-object v5, v11 invoke-static/range {v3 .. v10}, Lkotlin/time/Duration;->appendFractional-impl(JLjava/lang/StringBuilder;IIILjava/lang/String;Z)V goto :goto_6 .line 1007 :cond_13 invoke-virtual {v11, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; move-result-object p0 const-string p1, "ns" invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; goto :goto_6 :cond_14 :goto_5 const/16 v8, 0x9 const-string v0, "s" const/4 v1, 0x0 move-wide v3, p0 move-object v5, v11 move v6, v9 move v7, v10 move-object v9, v0 move v10, v1 .line 1001 invoke-static/range {v3 .. v10}, Lkotlin/time/Duration;->appendFractional-impl(JLjava/lang/StringBuilder;IIILjava/lang/String;Z)V :goto_6 move v1, v13 :cond_15 if-eqz v2, :cond_16 if-le v1, v12, :cond_16 const/16 p0, 0x28 .line 1010 invoke-virtual {v11, v12, p0}, Ljava/lang/StringBuilder;->insert(IC)Ljava/lang/StringBuilder; move-result-object p0 const/16 p1, 0x29 invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder; .line 977 :cond_16 invoke-virtual {v11}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 const-string p1, "toString(...)" invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V :goto_7 return-object p0 .end method .method public static final toString-impl(JLkotlin/time/DurationUnit;I)Ljava/lang/String; .locals 2 const-string v0, "unit" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V if-ltz p3, :cond_1 .line 1048 invoke-static {p0, p1, p2}, Lkotlin/time/Duration;->toDouble-impl(JLkotlin/time/DurationUnit;)D move-result-wide p0 .line 1049 invoke-static {p0, p1}, Ljava/lang/Double;->isInfinite(D)Z move-result v0 if-eqz v0, :cond_0 invoke-static {p0, p1}, Ljava/lang/String;->valueOf(D)Ljava/lang/String; move-result-object p0 return-object p0 .line 1050 :cond_0 new-instance v0, Ljava/lang/StringBuilder; invoke-direct {v0}, Ljava/lang/StringBuilder;->()V const/16 v1, 0xc invoke-static {p3, v1}, Lkotlin/ranges/RangesKt;->coerceAtMost(II)I move-result p3 invoke-static {p0, p1, p3}, Lkotlin/time/DurationJvmKt;->formatToExactDecimals(DI)Ljava/lang/String; move-result-object p0 invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-static {p2}, Lkotlin/time/DurationUnitKt;->shortName(Lkotlin/time/DurationUnit;)Ljava/lang/String; move-result-object p1 invoke-virtual {p0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 return-object p0 .line 1047 :cond_1 new-instance p0, Ljava/lang/StringBuilder; const-string p1, "decimals must be not negative, but was " invoke-direct {p0, p1}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder; move-result-object p0 invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p0 new-instance p1, Ljava/lang/IllegalArgumentException; invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object p0 invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p1 .end method .method public static synthetic toString-impl$default(JLkotlin/time/DurationUnit;IILjava/lang/Object;)Ljava/lang/String; .locals 0 and-int/lit8 p4, p4, 0x2 if-eqz p4, :cond_0 const/4 p3, 0x0 .line 1046 :cond_0 invoke-static {p0, p1, p2, p3}, Lkotlin/time/Duration;->toString-impl(JLkotlin/time/DurationUnit;I)Ljava/lang/String; move-result-object p0 return-object p0 .end method .method public static final truncateTo-UwyO8pc$kotlin_stdlib(JLkotlin/time/DurationUnit;)J .locals 5 const-string v0, "unit" invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 635 invoke-static {p0, p1}, Lkotlin/time/Duration;->getStorageUnit-impl(J)Lkotlin/time/DurationUnit; move-result-object v0 .line 636 move-object v1, v0 check-cast v1, Ljava/lang/Enum; invoke-virtual {p2, v1}, Lkotlin/time/DurationUnit;->compareTo(Ljava/lang/Enum;)I move-result v1 if-lez v1, :cond_1 invoke-static {p0, p1}, Lkotlin/time/Duration;->isInfinite-impl(J)Z move-result v1 if-eqz v1, :cond_0 goto :goto_0 :cond_0 const-wide/16 v1, 0x1 .line 637 invoke-static {v1, v2, p2, v0}, Lkotlin/time/DurationUnitKt;->convertDurationUnit(JLkotlin/time/DurationUnit;Lkotlin/time/DurationUnit;)J move-result-wide v1 .line 638 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v3 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide p0 rem-long/2addr p0, v1 sub-long/2addr v3, p0 .line 639 invoke-static {v3, v4, v0}, Lkotlin/time/DurationKt;->toDuration(JLkotlin/time/DurationUnit;)J move-result-wide p0 :cond_1 :goto_0 return-wide p0 .end method .method public static final unaryMinus-UwyO8pc(J)J .locals 2 .line 458 invoke-static {p0, p1}, Lkotlin/time/Duration;->getValue-impl(J)J move-result-wide v0 neg-long v0, v0 long-to-int p0, p0 and-int/lit8 p0, p0, 0x1 invoke-static {v0, v1, p0}, Lkotlin/time/DurationKt;->access$durationOf(JI)J move-result-wide p0 return-wide p0 .end method # virtual methods .method public bridge synthetic compareTo(Ljava/lang/Object;)I .locals 2 .line 32 check-cast p1, Lkotlin/time/Duration; invoke-virtual {p1}, Lkotlin/time/Duration;->unbox-impl()J move-result-wide v0 invoke-virtual {p0, v0, v1}, Lkotlin/time/Duration;->compareTo-LRDsOJo(J)I move-result p0 return p0 .end method .method public compareTo-LRDsOJo(J)I .locals 2 iget-wide v0, p0, Lkotlin/time/Duration;->rawValue:J .line 657 invoke-static {v0, v1, p1, p2}, Lkotlin/time/Duration;->compareTo-LRDsOJo(JJ)I move-result p0 return p0 .end method .method public equals(Ljava/lang/Object;)Z .locals 2 iget-wide v0, p0, Lkotlin/time/Duration;->rawValue:J invoke-static {v0, v1, p1}, Lkotlin/time/Duration;->equals-impl(JLjava/lang/Object;)Z move-result p0 return p0 .end method .method public hashCode()I .locals 2 iget-wide v0, p0, Lkotlin/time/Duration;->rawValue:J invoke-static {v0, v1}, Lkotlin/time/Duration;->hashCode-impl(J)I move-result p0 return p0 .end method .method public toString()Ljava/lang/String; .locals 2 iget-wide v0, p0, Lkotlin/time/Duration;->rawValue:J .line 971 invoke-static {v0, v1}, Lkotlin/time/Duration;->toString-impl(J)Ljava/lang/String; move-result-object p0 return-object p0 .end method .method public final synthetic unbox-impl()J .locals 2 iget-wide v0, p0, Lkotlin/time/Duration;->rawValue:J return-wide v0 .end method