1159 lines
		
	
	
		
			74 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
			
		
		
	
	
			1159 lines
		
	
	
		
			74 KiB
		
	
	
	
		
			Java
		
	
	
	
	
	
| package kotlin.time;
 | ||
| 
 | ||
| import kotlin.Deprecated;
 | ||
| import kotlin.DeprecatedSinceKotlin;
 | ||
| import kotlin.Metadata;
 | ||
| import kotlin.ReplaceWith;
 | ||
| import kotlin.UByte$$ExternalSyntheticBackport0;
 | ||
| import kotlin.comparisons.ComparisonsKt;
 | ||
| import kotlin.jvm.JvmInline;
 | ||
| import kotlin.jvm.functions.Function2;
 | ||
| import kotlin.jvm.functions.Function3;
 | ||
| import kotlin.jvm.functions.Function4;
 | ||
| import kotlin.jvm.functions.Function5;
 | ||
| import kotlin.jvm.internal.DefaultConstructorMarker;
 | ||
| import kotlin.jvm.internal.Intrinsics;
 | ||
| import kotlin.math.MathKt;
 | ||
| import kotlin.ranges.LongRange;
 | ||
| import kotlin.ranges.RangesKt;
 | ||
| import kotlin.text.StringsKt;
 | ||
| 
 | ||
| /* compiled from: Duration.kt */
 | ||
| @Metadata(d1 = {"\u0000n\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0000\n\u0002\u0010\t\n\u0002\b\u0005\n\u0002\u0010\b\n\u0002\b\u0005\n\u0002\u0010\u0006\n\u0002\b-\n\u0002\u0018\u0002\n\u0002\b\u0017\n\u0002\u0010\u000b\n\u0002\u0010\u0000\n\u0002\b\u001b\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\t\n\u0002\u0010\u000e\n\u0002\b\u0010\n\u0002\u0010\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\b\b\u0087@\u0018\u0000 ¤\u00012\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0002¤\u0001B\u0014\b\u0000\u0012\u0006\u0010\u0002\u001a\u00020\u0003ø\u0001\u0000¢\u0006\u0004\b\u0004\u0010\u0005J%\u0010D\u001a\u00020\u00002\u0006\u0010E\u001a\u00020\u00032\u0006\u0010F\u001a\u00020\u0003H\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\bG\u0010HJ\u001b\u0010I\u001a\u00020\t2\u0006\u0010J\u001a\u00020\u0000H\u0096\u0002ø\u0001\u0000¢\u0006\u0004\bK\u0010LJ\u001e\u0010M\u001a\u00020\u00002\u0006\u0010N\u001a\u00020\u000fH\u0086\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\bO\u0010PJ\u001e\u0010M\u001a\u00020\u00002\u0006\u0010N\u001a\u00020\tH\u0086\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\bO\u0010QJ\u001b\u0010M\u001a\u00020\u000f2\u0006\u0010J\u001a\u00020\u0000H\u0086\u0002ø\u0001\u0000¢\u0006\u0004\bR\u0010SJ\u001a\u0010T\u001a\u00020U2\b\u0010J\u001a\u0004\u0018\u00010VHÖ\u0003¢\u0006\u0004\bW\u0010XJ\u0010\u0010Y\u001a\u00020\tHÖ\u0001¢\u0006\u0004\bZ\u0010\rJ\r\u0010[\u001a\u00020U¢\u0006\u0004\b\\\u0010]J\u000f\u0010^\u001a\u00020UH\u0002¢\u0006\u0004\b_\u0010]J\u000f\u0010`\u001a\u00020UH\u0002¢\u0006\u0004\ba\u0010]J\r\u0010b\u001a\u00020U¢\u0006\u0004\bc\u0010]J\r\u0010d\u001a\u00020U¢\u0006\u0004\be\u0010]J\r\u0010f\u001a\u00020U¢\u0006\u0004\bg\u0010]J\u001b\u0010h\u001a\u00020\u00002\u0006\u0010J\u001a\u00020\u0000H\u0086\u0002ø\u0001\u0000¢\u0006\u0004\bi\u0010jJ\u001b\u0010k\u001a\u00020\u00002\u0006\u0010J\u001a\u00020\u0000H\u0086\u0002ø\u0001\u0000¢\u0006\u0004\bl\u0010jJ\u001e\u0010m\u001a\u00020\u00002\u0006\u0010N\u001a\u00020\u000fH\u0086\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\bn\u0010PJ\u001e\u0010m\u001a\u00020\u00002\u0006\u0010N\u001a\u00020\tH\u0086\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\bn\u0010QJ\u009d\u0001\u0010o\u001a\u0002Hp\"\u0004\b\u0000\u0010p2u\u0010q\u001aq\u0012\u0013\u0012\u00110\u0003¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(u\u0012\u0013\u0012\u00110\t¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(v\u0012\u0013\u0012\u00110\t¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(w\u0012\u0013\u0012\u00110\t¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(x\u0012\u0013\u0012\u00110\t¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(y\u0012\u0004\u0012\u0002Hp0rH\u0086\bø\u0001\u0002\u0082\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001¢\u0006\u0004\bz\u0010{J\u0088\u0001\u0010o\u001a\u0002Hp\"\u0004\b\u0000\u0010p2`\u0010q\u001a\\\u0012\u0013\u0012\u00110\u0003¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(v\u0012\u0013\u0012\u00110\t¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(w\u0012\u0013\u0012\u00110\t¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(x\u0012\u0013\u0012\u00110\t¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(y\u0012\u0004\u0012\u0002Hp0|H\u0086\bø\u0001\u0002\u0082\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001¢\u0006\u0004\bz\u0010}Js\u0010o\u001a\u0002Hp\"\u0004\b\u0000\u0010p2K\u0010q\u001aG\u0012\u0013\u0012\u00110\u0003¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(w\u0012\u0013\u0012\u00110\t¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(x\u0012\u0013\u0012\u00110\t¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(y\u0012\u0004\u0012\u0002Hp0~H\u0086\bø\u0001\u0002\u0082\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001¢\u0006\u0004\bz\u0010\u007fJ`\u0010o\u001a\u0002Hp\"\u0004\b\u0000\u0010p27\u0010q\u001a3\u0012\u0013\u0012\u00110\u0003¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(x\u0012\u0013\u0012\u00110\t¢\u0006\f\bs\u0012\b\bt\u0012\u0004\b\b(y\u0012\u0004\u0012\u0002Hp0\u0080\u0001H\u0086\bø\u0001\u0002\u0082\u0002\n\n\b\b\u0001\u0012\u0002\u0010\u0001 \u0001¢\u0006\u0005\bz\u0010\u0081\u0001J\u0019\u0010\u0082\u0001\u001a\u00020\u000f2\u0007\u0010\u0083\u0001\u001a\u00020=¢\u0006\u0006\b\u0084\u0001\u0010\u0085\u0001J\u0019\u0010\u0086\u0001\u001a\u00020\t2\u0007\u0010\u0083\u0001\u001a\u00020=¢\u0006\u0006\b\u0087\u0001\u0010\u0088\u0001J\u0011\u0010\u0089\u0001\u001a\u00030\u008a\u0001¢\u0006\u0006\b\u008b\u0001\u0010\u008c\u0001J\u0019\u0010\u008d\u0001\u001a\u00020\u00032\u0007\u0010\u0083\u0001\u001a\u00020=¢\u0006\u0006\b\u008e\u0001\u0010\u008f\u0001J\u0011\u0010\u0090\u0001\u001a\u00020\u0003H\u0007¢\u0006\u0005\b\u0091\u0001\u0010\u0005J\u0011\u0010\u0092\u0001\u001a\u00020\u0003H\u0007¢\u0006\u0005\b\u0093\u0001\u0010\u0005J\u0013\u0010\u0094\u0001\u001a\u00030\u008a\u0001H\u0016¢\u0006\u0006\b\u0095\u0001\u0010\u008c\u0001J%\u0010\u0094\u0001\u001a\u00030\u008a\u00012\u0007\u0010\u0083\u0001\u001a\u00020=2\t\b\u0002\u0010\u0096\u0001\u001a\u00020\t¢\u0006\u0006\b\u0095\u0001\u0010\u0097\u0001J\u0018\u0010\u0098\u0001\u001a\u00020\u0000H\u0086\u0002ø\u0001\u0001ø\u0001\u0000¢\u0006\u0005\b\u0099\u0001\u0010\u0005JK\u0010\u009a\u0001\u001a\u00030\u009b\u0001*\b0\u009c\u0001j\u0003`\u009d\u00012\u0007\u0010\u009e\u0001\u001a\u00020\t2\u0007\u0010\u009f\u0001\u001a\u00020\t2\u0007\u0010 \u0001\u001a\u00020\t2\b\u0010\u0083\u0001\u001a\u00030\u008a\u00012\u0007\u0010¡\u0001\u001a\u00020UH\u0002¢\u0006\u0006\b¢\u0001\u0010£\u0001R\u0017\u0010\u0006\u001a\u00020\u00008Fø\u0001\u0000ø\u0001\u0001¢\u0006\u0006\u001a\u0004\b\u0007\u0010\u0005R\u001a\u0010\b\u001a\u00020\t8@X\u0081\u0004¢\u0006\f\u0012\u0004\b\n\u0010\u000b\u001a\u0004\b\f\u0010\rR\u001a\u0010\u000e\u001a\u00020\u000f8FX\u0087\u0004¢\u0006\f\u0012\u0004\b\u0010\u0010\u000b\u001a\u0004\b\u0011\u0010\u0012R\u001a\u0010\u0013\u001a\u00020\u000f8FX\u0087\u0004¢\u0006\f\u0012\u0004\b\u0014\u0010\u000b\u001a\u0004\b\u0015\u0010\u0012R\u001a\u0010\u0016\u001a\u00020\u000f8FX\u0087\u0004¢\u0006\f\u0012\u0004\b\u0017\u0010\u000b\u001a\u0004\b\u0018\u0010\u0012R\u001a\u0010\u0019\u001a\u00020\u000f8FX\u0087\u0004¢\u0006\f\u0012\u0004\b\u001a\u0010\u000b\u001a\u0004\b\u001b\u0010\u0012R\u001a\u0010\u001c\u001a\u00020\u000f8FX\u0087\u0004¢\u0006\f\u0012\u0004\b\u001d\u0010\u000b\u001a\u0004\b\u001e\u0010\u0012R\u001a\u0010\u001f\u001a\u00020\u000f8FX\u0087\u0004¢\u0006\f\u0012\u0004\b \u0010\u000b\u001a\u0004\b!\u0010\u0012R\u001a\u0010\"\u001a\u00020\u000f8FX\u0087\u0004¢\u0006\f\u0012\u0004\b#\u0010\u000b\u001a\u0004\b$\u0010\u0012R\u0011\u0010%\u001a\u00020\u00038F¢\u0006\u0006\u001a\u0004\b&\u0010\u0005R\u0011\u0010'\u001a\u00020\u00038F¢\u0006\u0006\u001a\u0004\b(\u0010\u0005R\u0011\u0010)\u001a\u00020\u00038F¢\u0006\u0006\u001a\u0004\b*\u0010\u0005R\u0011\u0010+\u001a\u00020\u00038F¢\u0006\u0006\u001a\u0004\b,\u0010\u0005R\u0011\u0010-\u001a\u00020\u00038F¢\u0006\u0006\u001a\u0004\b.\u0010\u0005R\u0011\u0010/\u001a\u00020\u00038F¢\u0006\u0006\u001a\u0004\b0\u0010\u0005R\u0011\u00101\u001a\u00020\u00038F¢\u0006\u0006\u001a\u0004\b2\u0010\u0005R\u001a\u00103\u001a\u00020\t8@X\u0081\u0004¢\u0006\f\u0012\u0004\b4\u0010\u000b\u001a\u0004\b5\u0010\rR\u001a\u00106\u001a\u00020\t8@X\u0081\u0004¢\u0006\f\u0012\u0004\b7\u0010\u000b\u001a\u0004\b8\u0010\rR\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004¢\u0006\u0002\n\u0000R\u001a\u00109\u001a\u00020\t8@X\u0081\u0004¢\u0006\f\u0012\u0004\b:\u0010\u000b\u001a\u0004\b;\u0010\rR\u0014\u0010<\u001a\u00020=8BX\u0082\u0004¢\u0006\u0006\u001a\u0004\b>\u0010?R\u0015\u0010@\u001a\u00020\t8Â\u0002X\u0082\u0004¢\u0006\u0006\u001a\u0004\bA\u0010\rR\u0014\u0010B\u001a\u00020\u00038BX\u0082\u0004¢\u0006\u0006\u001a\u0004\bC\u0010\u0005\u0088\u0001\u0002\u0092\u0001\u00020\u0003ø\u0001\u0000\u0082\u0002\u000f\n\u0002\b\u0019\n\u0002\b!\n\u0005\b\u009920\u0001¨\u0006¥\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;", "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 = 1, mv = {1, 8, 0}, xi = 48)
 | ||
| @JvmInline
 | ||
| /* loaded from: classes.dex */
 | ||
| public final class Duration implements Comparable<Duration> {
 | ||
|     private static final long INFINITE;
 | ||
|     private static final long NEG_INFINITE;
 | ||
|     private final long rawValue;
 | ||
| 
 | ||
|     /* renamed from: Companion, reason: from kotlin metadata */
 | ||
|     public static final Companion INSTANCE = new Companion(null);
 | ||
|     private static final long ZERO = m1675constructorimpl(0);
 | ||
| 
 | ||
|     /* renamed from: box-impl, reason: not valid java name */
 | ||
|     public static final /* synthetic */ Duration m1673boximpl(long j) {
 | ||
|         return new Duration(j);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: equals-impl, reason: not valid java name */
 | ||
|     public static boolean m1679equalsimpl(long j, Object obj) {
 | ||
|         return (obj instanceof Duration) && j == ((Duration) obj).getRawValue();
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: equals-impl0, reason: not valid java name */
 | ||
|     public static final boolean m1680equalsimpl0(long j, long j2) {
 | ||
|         return j == j2;
 | ||
|     }
 | ||
| 
 | ||
|     public static /* synthetic */ void getHoursComponent$annotations() {
 | ||
|     }
 | ||
| 
 | ||
|     @Deprecated(message = "Use inWholeDays property instead or convert toDouble(DAYS) if a double value is required.", replaceWith = @ReplaceWith(expression = "toDouble(DurationUnit.DAYS)", imports = {}))
 | ||
|     @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5")
 | ||
|     public static /* synthetic */ void getInDays$annotations() {
 | ||
|     }
 | ||
| 
 | ||
|     @Deprecated(message = "Use inWholeHours property instead or convert toDouble(HOURS) if a double value is required.", replaceWith = @ReplaceWith(expression = "toDouble(DurationUnit.HOURS)", imports = {}))
 | ||
|     @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5")
 | ||
|     public static /* synthetic */ void getInHours$annotations() {
 | ||
|     }
 | ||
| 
 | ||
|     @Deprecated(message = "Use inWholeMicroseconds property instead or convert toDouble(MICROSECONDS) if a double value is required.", replaceWith = @ReplaceWith(expression = "toDouble(DurationUnit.MICROSECONDS)", imports = {}))
 | ||
|     @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5")
 | ||
|     public static /* synthetic */ void getInMicroseconds$annotations() {
 | ||
|     }
 | ||
| 
 | ||
|     @Deprecated(message = "Use inWholeMilliseconds property instead or convert toDouble(MILLISECONDS) if a double value is required.", replaceWith = @ReplaceWith(expression = "toDouble(DurationUnit.MILLISECONDS)", imports = {}))
 | ||
|     @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5")
 | ||
|     public static /* synthetic */ void getInMilliseconds$annotations() {
 | ||
|     }
 | ||
| 
 | ||
|     @Deprecated(message = "Use inWholeMinutes property instead or convert toDouble(MINUTES) if a double value is required.", replaceWith = @ReplaceWith(expression = "toDouble(DurationUnit.MINUTES)", imports = {}))
 | ||
|     @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5")
 | ||
|     public static /* synthetic */ void getInMinutes$annotations() {
 | ||
|     }
 | ||
| 
 | ||
|     @Deprecated(message = "Use inWholeNanoseconds property instead or convert toDouble(NANOSECONDS) if a double value is required.", replaceWith = @ReplaceWith(expression = "toDouble(DurationUnit.NANOSECONDS)", imports = {}))
 | ||
|     @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5")
 | ||
|     public static /* synthetic */ void getInNanoseconds$annotations() {
 | ||
|     }
 | ||
| 
 | ||
|     @Deprecated(message = "Use inWholeSeconds property instead or convert toDouble(SECONDS) if a double value is required.", replaceWith = @ReplaceWith(expression = "toDouble(DurationUnit.SECONDS)", imports = {}))
 | ||
|     @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5")
 | ||
|     public static /* synthetic */ void getInSeconds$annotations() {
 | ||
|     }
 | ||
| 
 | ||
|     public static /* synthetic */ void getMinutesComponent$annotations() {
 | ||
|     }
 | ||
| 
 | ||
|     public static /* synthetic */ void getNanosecondsComponent$annotations() {
 | ||
|     }
 | ||
| 
 | ||
|     public static /* synthetic */ void getSecondsComponent$annotations() {
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getUnitDiscriminator-impl, reason: not valid java name */
 | ||
|     private static final int m1701getUnitDiscriminatorimpl(long j) {
 | ||
|         return ((int) j) & 1;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getValue-impl, reason: not valid java name */
 | ||
|     private static final long m1702getValueimpl(long j) {
 | ||
|         return j >> 1;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: hashCode-impl, reason: not valid java name */
 | ||
|     public static int m1703hashCodeimpl(long j) {
 | ||
|         return UByte$$ExternalSyntheticBackport0.m(j);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: isInMillis-impl, reason: not valid java name */
 | ||
|     private static final boolean m1705isInMillisimpl(long j) {
 | ||
|         return (((int) j) & 1) == 1;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: isInNanos-impl, reason: not valid java name */
 | ||
|     private static final boolean m1706isInNanosimpl(long j) {
 | ||
|         return (((int) j) & 1) == 0;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: isInfinite-impl, reason: not valid java name */
 | ||
|     public static final boolean m1707isInfiniteimpl(long j) {
 | ||
|         return j == INFINITE || j == NEG_INFINITE;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: isNegative-impl, reason: not valid java name */
 | ||
|     public static final boolean m1708isNegativeimpl(long j) {
 | ||
|         return j < 0;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: isPositive-impl, reason: not valid java name */
 | ||
|     public static final boolean m1709isPositiveimpl(long j) {
 | ||
|         return j > 0;
 | ||
|     }
 | ||
| 
 | ||
|     public boolean equals(Object obj) {
 | ||
|         return m1679equalsimpl(this.rawValue, obj);
 | ||
|     }
 | ||
| 
 | ||
|     public int hashCode() {
 | ||
|         return m1703hashCodeimpl(this.rawValue);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: unbox-impl, reason: not valid java name and from getter */
 | ||
|     public final /* synthetic */ long getRawValue() {
 | ||
|         return this.rawValue;
 | ||
|     }
 | ||
| 
 | ||
|     @Override // java.lang.Comparable
 | ||
|     public /* bridge */ /* synthetic */ int compareTo(Duration duration) {
 | ||
|         return m1728compareToLRDsOJo(duration.getRawValue());
 | ||
|     }
 | ||
| 
 | ||
|     private /* synthetic */ Duration(long j) {
 | ||
|         this.rawValue = j;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getStorageUnit-impl, reason: not valid java name */
 | ||
|     private static final DurationUnit m1700getStorageUnitimpl(long j) {
 | ||
|         return m1706isInNanosimpl(j) ? DurationUnit.NANOSECONDS : DurationUnit.MILLISECONDS;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: constructor-impl, reason: not valid java name */
 | ||
|     public static long m1675constructorimpl(long j) {
 | ||
|         if (DurationJvmKt.getDurationAssertionsEnabled()) {
 | ||
|             if (m1706isInNanosimpl(j)) {
 | ||
|                 if (!new LongRange(-4611686018426999999L, DurationKt.MAX_NANOS).contains(m1702getValueimpl(j))) {
 | ||
|                     throw new AssertionError(m1702getValueimpl(j) + " ns is out of nanoseconds range");
 | ||
|                 }
 | ||
|             } else {
 | ||
|                 if (!new LongRange(-4611686018427387903L, DurationKt.MAX_MILLIS).contains(m1702getValueimpl(j))) {
 | ||
|                     throw new AssertionError(m1702getValueimpl(j) + " ms is out of milliseconds range");
 | ||
|                 }
 | ||
|                 if (new LongRange(-4611686018426L, 4611686018426L).contains(m1702getValueimpl(j))) {
 | ||
|                     throw new AssertionError(m1702getValueimpl(j) + " ms is denormalized");
 | ||
|                 }
 | ||
|             }
 | ||
|         }
 | ||
|         return j;
 | ||
|     }
 | ||
| 
 | ||
|     /* compiled from: Duration.kt */
 | ||
|     @Metadata(d1 = {"\u0000<\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u0006\n\u0002\b\u0004\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\t\n\u0002\b\u0017\n\u0002\u0018\u0002\n\u0002\b\b\n\u0002\u0010\u000e\n\u0002\b\n\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J \u0010*\u001a\u00020\r2\u0006\u0010+\u001a\u00020\r2\u0006\u0010,\u001a\u00020-2\u0006\u0010.\u001a\u00020-H\u0007J\u001d\u0010\f\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\rH\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b/\u0010\u0011J\u001d\u0010\f\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0012H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b/\u0010\u0014J\u001d\u0010\f\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0015H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b/\u0010\u0017J\u001d\u0010\u0018\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\rH\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b0\u0010\u0011J\u001d\u0010\u0018\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0012H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b0\u0010\u0014J\u001d\u0010\u0018\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0015H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b0\u0010\u0017J\u001d\u0010\u001b\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\rH\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b1\u0010\u0011J\u001d\u0010\u001b\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0012H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b1\u0010\u0014J\u001d\u0010\u001b\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0015H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b1\u0010\u0017J\u001d\u0010\u001e\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\rH\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b2\u0010\u0011J\u001d\u0010\u001e\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0012H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b2\u0010\u0014J\u001d\u0010\u001e\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0015H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b2\u0010\u0017J\u001d\u0010!\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\rH\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b3\u0010\u0011J\u001d\u0010!\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0012H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b3\u0010\u0014J\u001d\u0010!\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0015H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b3\u0010\u0017J\u001d\u0010$\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\rH\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b4\u0010\u0011J\u001d\u0010$\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0012H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b4\u0010\u0014J\u001d\u0010$\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0015H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b4\u0010\u0017J\u001b\u00105\u001a\u00020\u00042\u0006\u0010+\u001a\u000206ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b7\u00108J\u001b\u00109\u001a\u00020\u00042\u0006\u0010+\u001a\u000206ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b:\u00108J\u001b\u0010;\u001a\u0004\u0018\u00010\u00042\u0006\u0010+\u001a\u000206ø\u0001\u0001ø\u0001\u0000¢\u0006\u0002\b<J\u001b\u0010=\u001a\u0004\u0018\u00010\u00042\u0006\u0010+\u001a\u000206ø\u0001\u0001ø\u0001\u0000¢\u0006\u0002\b>J\u001d\u0010'\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\rH\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b?\u0010\u0011J\u001d\u0010'\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0012H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b?\u0010\u0014J\u001d\u0010'\u001a\u00020\u00042\u0006\u0010+\u001a\u00020\u0015H\u0007ø\u0001\u0001ø\u0001\u0000¢\u0006\u0004\b?\u0010\u0017R\u0019\u0010\u0003\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u0005\u0010\u0006R\u001c\u0010\b\u001a\u00020\u0004X\u0080\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\t\u0010\u0006R\u0019\u0010\n\u001a\u00020\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\n\n\u0002\u0010\u0007\u001a\u0004\b\u000b\u0010\u0006R%\u0010\f\u001a\u00020\u0004*\u00020\r8Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u000e\u0010\u000f\u001a\u0004\b\u0010\u0010\u0011R%\u0010\f\u001a\u00020\u0004*\u00020\u00128Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u000e\u0010\u0013\u001a\u0004\b\u0010\u0010\u0014R%\u0010\f\u001a\u00020\u0004*\u00020\u00158Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u000e\u0010\u0016\u001a\u0004\b\u0010\u0010\u0017R%\u0010\u0018\u001a\u00020\u0004*\u00020\r8Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u0019\u0010\u000f\u001a\u0004\b\u001a\u0010\u0011R%\u0010\u0018\u001a\u00020\u0004*\u00020\u00128Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u0019\u0010\u0013\u001a\u0004\b\u001a\u0010\u0014R%\u0010\u0018\u001a\u00020\u0004*\u00020\u00158Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u0019\u0010\u0016\u001a\u0004\b\u001a\u0010\u0017R%\u0010\u001b\u001a\u00020\u0004*\u00020\r8Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u001c\u0010\u000f\u001a\u0004\b\u001d\u0010\u0011R%\u0010\u001b\u001a\u00020\u0004*\u00020\u00128Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u001c\u0010\u0013\u001a\u0004\b\u001d\u0010\u0014R%\u0010\u001b\u001a\u00020\u0004*\u00020\u00158Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u001c\u0010\u0016\u001a\u0004\b\u001d\u0010\u0017R%\u0010\u001e\u001a\u00020\u0004*\u00020\r8Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u001f\u0010\u000f\u001a\u0004\b \u0010\u0011R%\u0010\u001e\u001a\u00020\u0004*\u00020\u00128Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u001f\u0010\u0013\u001a\u0004\b \u0010\u0014R%\u0010\u001e\u001a\u00020\u0004*\u00020\u00158Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\u001f\u0010\u0016\u001a\u0004\b \u0010\u0017R%\u0010!\u001a\u00020\u0004*\u00020\r8Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\"\u0010\u000f\u001a\u0004\b#\u0010\u0011R%\u0010!\u001a\u00020\u0004*\u00020\u00128Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\"\u0010\u0013\u001a\u0004\b#\u0010\u0014R%\u0010!\u001a\u00020\u0004*\u00020\u00158Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b\"\u0010\u0016\u001a\u0004\b#\u0010\u0017R%\u0010$\u001a\u00020\u0004*\u00020\r8Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b%\u0010\u000f\u001a\u0004\b&\u0010\u0011R%\u0010$\u001a\u00020\u0004*\u00020\u00128Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b%\u0010\u0013\u001a\u0004\b&\u0010\u0014R%\u0010$\u001a\u00020\u0004*\u00020\u00158Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b%\u0010\u0016\u001a\u0004\b&\u0010\u0017R%\u0010'\u001a\u00020\u0004*\u00020\r8Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b(\u0010\u000f\u001a\u0004\b)\u0010\u0011R%\u0010'\u001a\u00020\u0004*\u00020\u00128Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b(\u0010\u0013\u001a\u0004\b)\u0010\u0014R%\u0010'\u001a\u00020\u0004*\u00020\u00158Æ\u0002X\u0087\u0004ø\u0001\u0000ø\u0001\u0001¢\u0006\f\u0012\u0004\b(\u0010\u0016\u001a\u0004\b)\u0010\u0017\u0082\u0002\b\n\u0002\b\u0019\n\u0002\b!¨\u0006@"}, d2 = {"Lkotlin/time/Duration$Companion;", "", "()V", "INFINITE", "Lkotlin/time/Duration;", "getINFINITE-UwyO8pc", "()J", "J", "NEG_INFINITE", "getNEG_INFINITE-UwyO8pc$kotlin_stdlib", "ZERO", "getZERO-UwyO8pc", "days", "", "getDays-UwyO8pc$annotations", "(D)V", "getDays-UwyO8pc", "(D)J", "", "(I)V", "(I)J", "", "(J)V", "(J)J", "hours", "getHours-UwyO8pc$annotations", "getHours-UwyO8pc", "microseconds", "getMicroseconds-UwyO8pc$annotations", "getMicroseconds-UwyO8pc", "milliseconds", "getMilliseconds-UwyO8pc$annotations", "getMilliseconds-UwyO8pc", "minutes", "getMinutes-UwyO8pc$annotations", "getMinutes-UwyO8pc", "nanoseconds", "getNanoseconds-UwyO8pc$annotations", "getNanoseconds-UwyO8pc", "seconds", "getSeconds-UwyO8pc$annotations", "getSeconds-UwyO8pc", "convert", "value", "sourceUnit", "Lkotlin/time/DurationUnit;", "targetUnit", "days-UwyO8pc", "hours-UwyO8pc", "microseconds-UwyO8pc", "milliseconds-UwyO8pc", "minutes-UwyO8pc", "nanoseconds-UwyO8pc", "parse", "", "parse-UwyO8pc", "(Ljava/lang/String;)J", "parseIsoString", "parseIsoString-UwyO8pc", "parseIsoStringOrNull", "parseIsoStringOrNull-FghU774", "parseOrNull", "parseOrNull-FghU774", "seconds-UwyO8pc", "kotlin-stdlib"}, k = 1, mv = {1, 8, 0}, xi = 48)
 | ||
|     public static final class Companion {
 | ||
|         public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
 | ||
|             this();
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getDays-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1733getDaysUwyO8pc$annotations(double d) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getDays-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1734getDaysUwyO8pc$annotations(int i) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getDays-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1735getDaysUwyO8pc$annotations(long j) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getHours-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1739getHoursUwyO8pc$annotations(double d) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getHours-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1740getHoursUwyO8pc$annotations(int i) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getHours-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1741getHoursUwyO8pc$annotations(long j) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMicroseconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1745getMicrosecondsUwyO8pc$annotations(double d) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMicroseconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1746getMicrosecondsUwyO8pc$annotations(int i) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMicroseconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1747getMicrosecondsUwyO8pc$annotations(long j) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMilliseconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1751getMillisecondsUwyO8pc$annotations(double d) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMilliseconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1752getMillisecondsUwyO8pc$annotations(int i) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMilliseconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1753getMillisecondsUwyO8pc$annotations(long j) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMinutes-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1757getMinutesUwyO8pc$annotations(double d) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMinutes-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1758getMinutesUwyO8pc$annotations(int i) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMinutes-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1759getMinutesUwyO8pc$annotations(long j) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getNanoseconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1763getNanosecondsUwyO8pc$annotations(double d) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getNanoseconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1764getNanosecondsUwyO8pc$annotations(int i) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getNanoseconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1765getNanosecondsUwyO8pc$annotations(long j) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getSeconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1769getSecondsUwyO8pc$annotations(double d) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getSeconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1770getSecondsUwyO8pc$annotations(int i) {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getSeconds-UwyO8pc$annotations, reason: not valid java name */
 | ||
|         public static /* synthetic */ void m1771getSecondsUwyO8pc$annotations(long j) {
 | ||
|         }
 | ||
| 
 | ||
|         private Companion() {
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getZERO-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1777getZEROUwyO8pc() {
 | ||
|             return Duration.ZERO;
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getINFINITE-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1775getINFINITEUwyO8pc() {
 | ||
|             return Duration.INFINITE;
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getNEG_INFINITE-UwyO8pc$kotlin_stdlib, reason: not valid java name */
 | ||
|         public final long m1776getNEG_INFINITEUwyO8pc$kotlin_stdlib() {
 | ||
|             return Duration.NEG_INFINITE;
 | ||
|         }
 | ||
| 
 | ||
|         public final double convert(double value, DurationUnit sourceUnit, DurationUnit targetUnit) {
 | ||
|             Intrinsics.checkNotNullParameter(sourceUnit, "sourceUnit");
 | ||
|             Intrinsics.checkNotNullParameter(targetUnit, "targetUnit");
 | ||
|             return DurationUnitKt.convertDurationUnit(value, sourceUnit, targetUnit);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getNanoseconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1761getNanosecondsUwyO8pc(int i) {
 | ||
|             return DurationKt.toDuration(i, DurationUnit.NANOSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getNanoseconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1762getNanosecondsUwyO8pc(long j) {
 | ||
|             return DurationKt.toDuration(j, DurationUnit.NANOSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getNanoseconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1760getNanosecondsUwyO8pc(double d) {
 | ||
|             return DurationKt.toDuration(d, DurationUnit.NANOSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMicroseconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1743getMicrosecondsUwyO8pc(int i) {
 | ||
|             return DurationKt.toDuration(i, DurationUnit.MICROSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMicroseconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1744getMicrosecondsUwyO8pc(long j) {
 | ||
|             return DurationKt.toDuration(j, DurationUnit.MICROSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMicroseconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1742getMicrosecondsUwyO8pc(double d) {
 | ||
|             return DurationKt.toDuration(d, DurationUnit.MICROSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMilliseconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1749getMillisecondsUwyO8pc(int i) {
 | ||
|             return DurationKt.toDuration(i, DurationUnit.MILLISECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMilliseconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1750getMillisecondsUwyO8pc(long j) {
 | ||
|             return DurationKt.toDuration(j, DurationUnit.MILLISECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMilliseconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1748getMillisecondsUwyO8pc(double d) {
 | ||
|             return DurationKt.toDuration(d, DurationUnit.MILLISECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getSeconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1767getSecondsUwyO8pc(int i) {
 | ||
|             return DurationKt.toDuration(i, DurationUnit.SECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getSeconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1768getSecondsUwyO8pc(long j) {
 | ||
|             return DurationKt.toDuration(j, DurationUnit.SECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getSeconds-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1766getSecondsUwyO8pc(double d) {
 | ||
|             return DurationKt.toDuration(d, DurationUnit.SECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMinutes-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1755getMinutesUwyO8pc(int i) {
 | ||
|             return DurationKt.toDuration(i, DurationUnit.MINUTES);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMinutes-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1756getMinutesUwyO8pc(long j) {
 | ||
|             return DurationKt.toDuration(j, DurationUnit.MINUTES);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getMinutes-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1754getMinutesUwyO8pc(double d) {
 | ||
|             return DurationKt.toDuration(d, DurationUnit.MINUTES);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getHours-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1737getHoursUwyO8pc(int i) {
 | ||
|             return DurationKt.toDuration(i, DurationUnit.HOURS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getHours-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1738getHoursUwyO8pc(long j) {
 | ||
|             return DurationKt.toDuration(j, DurationUnit.HOURS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getHours-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1736getHoursUwyO8pc(double d) {
 | ||
|             return DurationKt.toDuration(d, DurationUnit.HOURS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getDays-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1731getDaysUwyO8pc(int i) {
 | ||
|             return DurationKt.toDuration(i, DurationUnit.DAYS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getDays-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1732getDaysUwyO8pc(long j) {
 | ||
|             return DurationKt.toDuration(j, DurationUnit.DAYS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: getDays-UwyO8pc, reason: not valid java name */
 | ||
|         private final long m1730getDaysUwyO8pc(double d) {
 | ||
|             return DurationKt.toDuration(d, DurationUnit.DAYS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Int.nanoseconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.nanoseconds", imports = {"kotlin.time.Duration.Companion.nanoseconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: nanoseconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1791nanosecondsUwyO8pc(int value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.NANOSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Long.nanoseconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.nanoseconds", imports = {"kotlin.time.Duration.Companion.nanoseconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: nanoseconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1792nanosecondsUwyO8pc(long value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.NANOSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Double.nanoseconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.nanoseconds", imports = {"kotlin.time.Duration.Companion.nanoseconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: nanoseconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1790nanosecondsUwyO8pc(double value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.NANOSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Int.microseconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.microseconds", imports = {"kotlin.time.Duration.Companion.microseconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: microseconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1782microsecondsUwyO8pc(int value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.MICROSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Long.microseconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.microseconds", imports = {"kotlin.time.Duration.Companion.microseconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: microseconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1783microsecondsUwyO8pc(long value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.MICROSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Double.microseconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.microseconds", imports = {"kotlin.time.Duration.Companion.microseconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: microseconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1781microsecondsUwyO8pc(double value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.MICROSECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Int.milliseconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.milliseconds", imports = {"kotlin.time.Duration.Companion.milliseconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: milliseconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1785millisecondsUwyO8pc(int value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.MILLISECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Long.milliseconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.milliseconds", imports = {"kotlin.time.Duration.Companion.milliseconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: milliseconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1786millisecondsUwyO8pc(long value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.MILLISECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Double.milliseconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.milliseconds", imports = {"kotlin.time.Duration.Companion.milliseconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: milliseconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1784millisecondsUwyO8pc(double value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.MILLISECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Int.seconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.seconds", imports = {"kotlin.time.Duration.Companion.seconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: seconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1798secondsUwyO8pc(int value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.SECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Long.seconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.seconds", imports = {"kotlin.time.Duration.Companion.seconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: seconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1799secondsUwyO8pc(long value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.SECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Double.seconds' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.seconds", imports = {"kotlin.time.Duration.Companion.seconds"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: seconds-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1797secondsUwyO8pc(double value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.SECONDS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Int.minutes' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.minutes", imports = {"kotlin.time.Duration.Companion.minutes"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: minutes-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1788minutesUwyO8pc(int value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.MINUTES);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Long.minutes' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.minutes", imports = {"kotlin.time.Duration.Companion.minutes"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: minutes-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1789minutesUwyO8pc(long value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.MINUTES);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Double.minutes' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.minutes", imports = {"kotlin.time.Duration.Companion.minutes"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: minutes-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1787minutesUwyO8pc(double value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.MINUTES);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Int.hours' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.hours", imports = {"kotlin.time.Duration.Companion.hours"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: hours-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1779hoursUwyO8pc(int value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.HOURS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Long.hours' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.hours", imports = {"kotlin.time.Duration.Companion.hours"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: hours-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1780hoursUwyO8pc(long value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.HOURS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Double.hours' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.hours", imports = {"kotlin.time.Duration.Companion.hours"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: hours-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1778hoursUwyO8pc(double value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.HOURS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Int.days' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.days", imports = {"kotlin.time.Duration.Companion.days"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: days-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1773daysUwyO8pc(int value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.DAYS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Long.days' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.days", imports = {"kotlin.time.Duration.Companion.days"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: days-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1774daysUwyO8pc(long value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.DAYS);
 | ||
|         }
 | ||
| 
 | ||
|         @Deprecated(message = "Use 'Double.days' extension property from Duration.Companion instead.", replaceWith = @ReplaceWith(expression = "value.days", imports = {"kotlin.time.Duration.Companion.days"}))
 | ||
|         @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.6")
 | ||
|         /* renamed from: days-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1772daysUwyO8pc(double value) {
 | ||
|             return DurationKt.toDuration(value, DurationUnit.DAYS);
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: parse-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1793parseUwyO8pc(String value) {
 | ||
|             long parseDuration;
 | ||
|             Intrinsics.checkNotNullParameter(value, "value");
 | ||
|             try {
 | ||
|                 parseDuration = DurationKt.parseDuration(value, false);
 | ||
|                 return parseDuration;
 | ||
|             } catch (IllegalArgumentException e) {
 | ||
|                 throw new IllegalArgumentException("Invalid duration string format: '" + value + "'.", e);
 | ||
|             }
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: parseIsoString-UwyO8pc, reason: not valid java name */
 | ||
|         public final long m1794parseIsoStringUwyO8pc(String value) {
 | ||
|             long parseDuration;
 | ||
|             Intrinsics.checkNotNullParameter(value, "value");
 | ||
|             try {
 | ||
|                 parseDuration = DurationKt.parseDuration(value, true);
 | ||
|                 return parseDuration;
 | ||
|             } catch (IllegalArgumentException e) {
 | ||
|                 throw new IllegalArgumentException("Invalid ISO duration string format: '" + value + "'.", e);
 | ||
|             }
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: parseOrNull-FghU774, reason: not valid java name */
 | ||
|         public final Duration m1796parseOrNullFghU774(String value) {
 | ||
|             long parseDuration;
 | ||
|             Intrinsics.checkNotNullParameter(value, "value");
 | ||
|             try {
 | ||
|                 parseDuration = DurationKt.parseDuration(value, false);
 | ||
|                 return Duration.m1673boximpl(parseDuration);
 | ||
|             } catch (IllegalArgumentException unused) {
 | ||
|                 return null;
 | ||
|             }
 | ||
|         }
 | ||
| 
 | ||
|         /* renamed from: parseIsoStringOrNull-FghU774, reason: not valid java name */
 | ||
|         public final Duration m1795parseIsoStringOrNullFghU774(String value) {
 | ||
|             long parseDuration;
 | ||
|             Intrinsics.checkNotNullParameter(value, "value");
 | ||
|             try {
 | ||
|                 parseDuration = DurationKt.parseDuration(value, true);
 | ||
|                 return Duration.m1673boximpl(parseDuration);
 | ||
|             } catch (IllegalArgumentException unused) {
 | ||
|                 return null;
 | ||
|             }
 | ||
|         }
 | ||
|     }
 | ||
| 
 | ||
|     static {
 | ||
|         long durationOfMillis;
 | ||
|         long durationOfMillis2;
 | ||
|         durationOfMillis = DurationKt.durationOfMillis(DurationKt.MAX_MILLIS);
 | ||
|         INFINITE = durationOfMillis;
 | ||
|         durationOfMillis2 = DurationKt.durationOfMillis(-4611686018427387903L);
 | ||
|         NEG_INFINITE = durationOfMillis2;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: unaryMinus-UwyO8pc, reason: not valid java name */
 | ||
|     public static final long m1727unaryMinusUwyO8pc(long j) {
 | ||
|         long durationOf;
 | ||
|         durationOf = DurationKt.durationOf(-m1702getValueimpl(j), ((int) j) & 1);
 | ||
|         return durationOf;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: plus-LRDsOJo, reason: not valid java name */
 | ||
|     public static final long m1711plusLRDsOJo(long j, long j2) {
 | ||
|         long durationOfMillisNormalized;
 | ||
|         long durationOfNanosNormalized;
 | ||
|         if (m1707isInfiniteimpl(j)) {
 | ||
|             if (m1704isFiniteimpl(j2) || (j2 ^ j) >= 0) {
 | ||
|                 return j;
 | ||
|             }
 | ||
|             throw new IllegalArgumentException("Summing infinite durations of different signs yields an undefined result.");
 | ||
|         }
 | ||
|         if (m1707isInfiniteimpl(j2)) {
 | ||
|             return j2;
 | ||
|         }
 | ||
|         if ((((int) j) & 1) == (((int) j2) & 1)) {
 | ||
|             long m1702getValueimpl = m1702getValueimpl(j) + m1702getValueimpl(j2);
 | ||
|             if (m1706isInNanosimpl(j)) {
 | ||
|                 durationOfNanosNormalized = DurationKt.durationOfNanosNormalized(m1702getValueimpl);
 | ||
|                 return durationOfNanosNormalized;
 | ||
|             }
 | ||
|             durationOfMillisNormalized = DurationKt.durationOfMillisNormalized(m1702getValueimpl);
 | ||
|             return durationOfMillisNormalized;
 | ||
|         }
 | ||
|         if (m1705isInMillisimpl(j)) {
 | ||
|             return m1671addValuesMixedRangesUwyO8pc(j, m1702getValueimpl(j), m1702getValueimpl(j2));
 | ||
|         }
 | ||
|         return m1671addValuesMixedRangesUwyO8pc(j, m1702getValueimpl(j2), m1702getValueimpl(j));
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: addValuesMixedRanges-UwyO8pc, reason: not valid java name */
 | ||
|     private static final long m1671addValuesMixedRangesUwyO8pc(long j, long j2, long j3) {
 | ||
|         long nanosToMillis;
 | ||
|         long durationOfMillis;
 | ||
|         long millisToNanos;
 | ||
|         long millisToNanos2;
 | ||
|         long durationOfNanos;
 | ||
|         nanosToMillis = DurationKt.nanosToMillis(j3);
 | ||
|         long j4 = j2 + nanosToMillis;
 | ||
|         if (new LongRange(-4611686018426L, 4611686018426L).contains(j4)) {
 | ||
|             millisToNanos = DurationKt.millisToNanos(nanosToMillis);
 | ||
|             long j5 = j3 - millisToNanos;
 | ||
|             millisToNanos2 = DurationKt.millisToNanos(j4);
 | ||
|             durationOfNanos = DurationKt.durationOfNanos(millisToNanos2 + j5);
 | ||
|             return durationOfNanos;
 | ||
|         }
 | ||
|         durationOfMillis = DurationKt.durationOfMillis(RangesKt.coerceIn(j4, -4611686018427387903L, DurationKt.MAX_MILLIS));
 | ||
|         return durationOfMillis;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: minus-LRDsOJo, reason: not valid java name */
 | ||
|     public static final long m1710minusLRDsOJo(long j, long j2) {
 | ||
|         return m1711plusLRDsOJo(j, m1727unaryMinusUwyO8pc(j2));
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: times-UwyO8pc, reason: not valid java name */
 | ||
|     public static final long m1713timesUwyO8pc(long j, int i) {
 | ||
|         long durationOfMillis;
 | ||
|         long nanosToMillis;
 | ||
|         long millisToNanos;
 | ||
|         long nanosToMillis2;
 | ||
|         long durationOfMillis2;
 | ||
|         long durationOfNanosNormalized;
 | ||
|         long durationOfNanos;
 | ||
|         if (m1707isInfiniteimpl(j)) {
 | ||
|             if (i != 0) {
 | ||
|                 return i > 0 ? j : m1727unaryMinusUwyO8pc(j);
 | ||
|             }
 | ||
|             throw new IllegalArgumentException("Multiplying infinite duration by zero yields an undefined result.");
 | ||
|         }
 | ||
|         if (i == 0) {
 | ||
|             return ZERO;
 | ||
|         }
 | ||
|         long m1702getValueimpl = m1702getValueimpl(j);
 | ||
|         long j2 = i;
 | ||
|         long j3 = m1702getValueimpl * j2;
 | ||
|         if (!m1706isInNanosimpl(j)) {
 | ||
|             if (j3 / j2 != m1702getValueimpl) {
 | ||
|                 return MathKt.getSign(m1702getValueimpl) * MathKt.getSign(i) > 0 ? INFINITE : NEG_INFINITE;
 | ||
|             }
 | ||
|             durationOfMillis = DurationKt.durationOfMillis(RangesKt.coerceIn(j3, new LongRange(-4611686018427387903L, DurationKt.MAX_MILLIS)));
 | ||
|             return durationOfMillis;
 | ||
|         }
 | ||
|         if (new LongRange(-2147483647L, 2147483647L).contains(m1702getValueimpl)) {
 | ||
|             durationOfNanos = DurationKt.durationOfNanos(j3);
 | ||
|             return durationOfNanos;
 | ||
|         }
 | ||
|         if (j3 / j2 == m1702getValueimpl) {
 | ||
|             durationOfNanosNormalized = DurationKt.durationOfNanosNormalized(j3);
 | ||
|             return durationOfNanosNormalized;
 | ||
|         }
 | ||
|         nanosToMillis = DurationKt.nanosToMillis(m1702getValueimpl);
 | ||
|         millisToNanos = DurationKt.millisToNanos(nanosToMillis);
 | ||
|         long j4 = nanosToMillis * j2;
 | ||
|         nanosToMillis2 = DurationKt.nanosToMillis((m1702getValueimpl - millisToNanos) * j2);
 | ||
|         long j5 = nanosToMillis2 + j4;
 | ||
|         if (j4 / j2 != nanosToMillis || (j5 ^ j4) < 0) {
 | ||
|             return MathKt.getSign(m1702getValueimpl) * MathKt.getSign(i) > 0 ? INFINITE : NEG_INFINITE;
 | ||
|         }
 | ||
|         durationOfMillis2 = DurationKt.durationOfMillis(RangesKt.coerceIn(j5, new LongRange(-4611686018427387903L, DurationKt.MAX_MILLIS)));
 | ||
|         return durationOfMillis2;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: times-UwyO8pc, reason: not valid java name */
 | ||
|     public static final long m1712timesUwyO8pc(long j, double d) {
 | ||
|         int roundToInt = MathKt.roundToInt(d);
 | ||
|         if (roundToInt == d) {
 | ||
|             return m1713timesUwyO8pc(j, roundToInt);
 | ||
|         }
 | ||
|         DurationUnit m1700getStorageUnitimpl = m1700getStorageUnitimpl(j);
 | ||
|         return DurationKt.toDuration(m1718toDoubleimpl(j, m1700getStorageUnitimpl) * d, m1700getStorageUnitimpl);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: div-UwyO8pc, reason: not valid java name */
 | ||
|     public static final long m1678divUwyO8pc(long j, int i) {
 | ||
|         long durationOfMillis;
 | ||
|         long millisToNanos;
 | ||
|         long millisToNanos2;
 | ||
|         long durationOfNanos;
 | ||
|         long durationOfNanos2;
 | ||
|         if (i == 0) {
 | ||
|             if (m1709isPositiveimpl(j)) {
 | ||
|                 return INFINITE;
 | ||
|             }
 | ||
|             if (m1708isNegativeimpl(j)) {
 | ||
|                 return NEG_INFINITE;
 | ||
|             }
 | ||
|             throw new IllegalArgumentException("Dividing zero duration by zero yields an undefined result.");
 | ||
|         }
 | ||
|         if (m1706isInNanosimpl(j)) {
 | ||
|             durationOfNanos2 = DurationKt.durationOfNanos(m1702getValueimpl(j) / i);
 | ||
|             return durationOfNanos2;
 | ||
|         }
 | ||
|         if (m1707isInfiniteimpl(j)) {
 | ||
|             return m1713timesUwyO8pc(j, MathKt.getSign(i));
 | ||
|         }
 | ||
|         long j2 = i;
 | ||
|         long m1702getValueimpl = m1702getValueimpl(j) / j2;
 | ||
|         if (new LongRange(-4611686018426L, 4611686018426L).contains(m1702getValueimpl)) {
 | ||
|             millisToNanos = DurationKt.millisToNanos(m1702getValueimpl(j) - (m1702getValueimpl * j2));
 | ||
|             millisToNanos2 = DurationKt.millisToNanos(m1702getValueimpl);
 | ||
|             durationOfNanos = DurationKt.durationOfNanos(millisToNanos2 + (millisToNanos / j2));
 | ||
|             return durationOfNanos;
 | ||
|         }
 | ||
|         durationOfMillis = DurationKt.durationOfMillis(m1702getValueimpl);
 | ||
|         return durationOfMillis;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: div-UwyO8pc, reason: not valid java name */
 | ||
|     public static final long m1677divUwyO8pc(long j, double d) {
 | ||
|         int roundToInt = MathKt.roundToInt(d);
 | ||
|         if (roundToInt == d && roundToInt != 0) {
 | ||
|             return m1678divUwyO8pc(j, roundToInt);
 | ||
|         }
 | ||
|         DurationUnit m1700getStorageUnitimpl = m1700getStorageUnitimpl(j);
 | ||
|         return DurationKt.toDuration(m1718toDoubleimpl(j, m1700getStorageUnitimpl) / d, m1700getStorageUnitimpl);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: div-LRDsOJo, reason: not valid java name */
 | ||
|     public static final double m1676divLRDsOJo(long j, long j2) {
 | ||
|         DurationUnit durationUnit = (DurationUnit) ComparisonsKt.maxOf(m1700getStorageUnitimpl(j), m1700getStorageUnitimpl(j2));
 | ||
|         return m1718toDoubleimpl(j, durationUnit) / m1718toDoubleimpl(j2, durationUnit);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: isFinite-impl, reason: not valid java name */
 | ||
|     public static final boolean m1704isFiniteimpl(long j) {
 | ||
|         return !m1707isInfiniteimpl(j);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getAbsoluteValue-UwyO8pc, reason: not valid java name */
 | ||
|     public static final long m1681getAbsoluteValueUwyO8pc(long j) {
 | ||
|         return m1708isNegativeimpl(j) ? m1727unaryMinusUwyO8pc(j) : j;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: compareTo-LRDsOJo, reason: not valid java name */
 | ||
|     public int m1728compareToLRDsOJo(long j) {
 | ||
|         return m1674compareToLRDsOJo(this.rawValue, j);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: compareTo-LRDsOJo, reason: not valid java name */
 | ||
|     public static int m1674compareToLRDsOJo(long j, long j2) {
 | ||
|         long j3 = j ^ j2;
 | ||
|         if (j3 < 0 || (((int) j3) & 1) == 0) {
 | ||
|             return Intrinsics.compare(j, j2);
 | ||
|         }
 | ||
|         int i = (((int) j) & 1) - (((int) j2) & 1);
 | ||
|         return m1708isNegativeimpl(j) ? -i : i;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: toComponents-impl, reason: not valid java name */
 | ||
|     public static final <T> T m1717toComponentsimpl(long j, Function5<? super Long, ? super Integer, ? super Integer, ? super Integer, ? super Integer, ? extends T> action) {
 | ||
|         Intrinsics.checkNotNullParameter(action, "action");
 | ||
|         return action.invoke(Long.valueOf(m1690getInWholeDaysimpl(j)), Integer.valueOf(m1682getHoursComponentimpl(j)), Integer.valueOf(m1697getMinutesComponentimpl(j)), Integer.valueOf(m1699getSecondsComponentimpl(j)), Integer.valueOf(m1698getNanosecondsComponentimpl(j)));
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: toComponents-impl, reason: not valid java name */
 | ||
|     public static final <T> T m1716toComponentsimpl(long j, Function4<? super Long, ? super Integer, ? super Integer, ? super Integer, ? extends T> action) {
 | ||
|         Intrinsics.checkNotNullParameter(action, "action");
 | ||
|         return action.invoke(Long.valueOf(m1691getInWholeHoursimpl(j)), Integer.valueOf(m1697getMinutesComponentimpl(j)), Integer.valueOf(m1699getSecondsComponentimpl(j)), Integer.valueOf(m1698getNanosecondsComponentimpl(j)));
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: toComponents-impl, reason: not valid java name */
 | ||
|     public static final <T> T m1715toComponentsimpl(long j, Function3<? super Long, ? super Integer, ? super Integer, ? extends T> action) {
 | ||
|         Intrinsics.checkNotNullParameter(action, "action");
 | ||
|         return action.invoke(Long.valueOf(m1694getInWholeMinutesimpl(j)), Integer.valueOf(m1699getSecondsComponentimpl(j)), Integer.valueOf(m1698getNanosecondsComponentimpl(j)));
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: toComponents-impl, reason: not valid java name */
 | ||
|     public static final <T> T m1714toComponentsimpl(long j, Function2<? super Long, ? super Integer, ? extends T> action) {
 | ||
|         Intrinsics.checkNotNullParameter(action, "action");
 | ||
|         return action.invoke(Long.valueOf(m1696getInWholeSecondsimpl(j)), Integer.valueOf(m1698getNanosecondsComponentimpl(j)));
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getHoursComponent-impl, reason: not valid java name */
 | ||
|     public static final int m1682getHoursComponentimpl(long j) {
 | ||
|         if (m1707isInfiniteimpl(j)) {
 | ||
|             return 0;
 | ||
|         }
 | ||
|         return (int) (m1691getInWholeHoursimpl(j) % 24);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getMinutesComponent-impl, reason: not valid java name */
 | ||
|     public static final int m1697getMinutesComponentimpl(long j) {
 | ||
|         if (m1707isInfiniteimpl(j)) {
 | ||
|             return 0;
 | ||
|         }
 | ||
|         return (int) (m1694getInWholeMinutesimpl(j) % 60);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getSecondsComponent-impl, reason: not valid java name */
 | ||
|     public static final int m1699getSecondsComponentimpl(long j) {
 | ||
|         if (m1707isInfiniteimpl(j)) {
 | ||
|             return 0;
 | ||
|         }
 | ||
|         return (int) (m1696getInWholeSecondsimpl(j) % 60);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getNanosecondsComponent-impl, reason: not valid java name */
 | ||
|     public static final int m1698getNanosecondsComponentimpl(long j) {
 | ||
|         long m1702getValueimpl;
 | ||
|         if (m1707isInfiniteimpl(j)) {
 | ||
|             return 0;
 | ||
|         }
 | ||
|         if (m1705isInMillisimpl(j)) {
 | ||
|             m1702getValueimpl = DurationKt.millisToNanos(m1702getValueimpl(j) % 1000);
 | ||
|         } else {
 | ||
|             m1702getValueimpl = m1702getValueimpl(j) % 1000000000;
 | ||
|         }
 | ||
|         return (int) m1702getValueimpl;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: toDouble-impl, reason: not valid java name */
 | ||
|     public static final double m1718toDoubleimpl(long j, DurationUnit unit) {
 | ||
|         Intrinsics.checkNotNullParameter(unit, "unit");
 | ||
|         if (j == INFINITE) {
 | ||
|             return Double.POSITIVE_INFINITY;
 | ||
|         }
 | ||
|         if (j == NEG_INFINITE) {
 | ||
|             return Double.NEGATIVE_INFINITY;
 | ||
|         }
 | ||
|         return DurationUnitKt.convertDurationUnit(m1702getValueimpl(j), m1700getStorageUnitimpl(j), unit);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: toLong-impl, reason: not valid java name */
 | ||
|     public static final long m1721toLongimpl(long j, DurationUnit unit) {
 | ||
|         Intrinsics.checkNotNullParameter(unit, "unit");
 | ||
|         if (j == INFINITE) {
 | ||
|             return Long.MAX_VALUE;
 | ||
|         }
 | ||
|         if (j == NEG_INFINITE) {
 | ||
|             return Long.MIN_VALUE;
 | ||
|         }
 | ||
|         return DurationUnitKt.convertDurationUnit(m1702getValueimpl(j), m1700getStorageUnitimpl(j), unit);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: toInt-impl, reason: not valid java name */
 | ||
|     public static final int m1719toIntimpl(long j, DurationUnit unit) {
 | ||
|         Intrinsics.checkNotNullParameter(unit, "unit");
 | ||
|         return (int) RangesKt.coerceIn(m1721toLongimpl(j, unit), -2147483648L, 2147483647L);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInDays-impl, reason: not valid java name */
 | ||
|     public static final double m1683getInDaysimpl(long j) {
 | ||
|         return m1718toDoubleimpl(j, DurationUnit.DAYS);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInHours-impl, reason: not valid java name */
 | ||
|     public static final double m1684getInHoursimpl(long j) {
 | ||
|         return m1718toDoubleimpl(j, DurationUnit.HOURS);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInMinutes-impl, reason: not valid java name */
 | ||
|     public static final double m1687getInMinutesimpl(long j) {
 | ||
|         return m1718toDoubleimpl(j, DurationUnit.MINUTES);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInSeconds-impl, reason: not valid java name */
 | ||
|     public static final double m1689getInSecondsimpl(long j) {
 | ||
|         return m1718toDoubleimpl(j, DurationUnit.SECONDS);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInMilliseconds-impl, reason: not valid java name */
 | ||
|     public static final double m1686getInMillisecondsimpl(long j) {
 | ||
|         return m1718toDoubleimpl(j, DurationUnit.MILLISECONDS);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInMicroseconds-impl, reason: not valid java name */
 | ||
|     public static final double m1685getInMicrosecondsimpl(long j) {
 | ||
|         return m1718toDoubleimpl(j, DurationUnit.MICROSECONDS);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInNanoseconds-impl, reason: not valid java name */
 | ||
|     public static final double m1688getInNanosecondsimpl(long j) {
 | ||
|         return m1718toDoubleimpl(j, DurationUnit.NANOSECONDS);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInWholeDays-impl, reason: not valid java name */
 | ||
|     public static final long m1690getInWholeDaysimpl(long j) {
 | ||
|         return m1721toLongimpl(j, DurationUnit.DAYS);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInWholeHours-impl, reason: not valid java name */
 | ||
|     public static final long m1691getInWholeHoursimpl(long j) {
 | ||
|         return m1721toLongimpl(j, DurationUnit.HOURS);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInWholeMinutes-impl, reason: not valid java name */
 | ||
|     public static final long m1694getInWholeMinutesimpl(long j) {
 | ||
|         return m1721toLongimpl(j, DurationUnit.MINUTES);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInWholeSeconds-impl, reason: not valid java name */
 | ||
|     public static final long m1696getInWholeSecondsimpl(long j) {
 | ||
|         return m1721toLongimpl(j, DurationUnit.SECONDS);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInWholeMilliseconds-impl, reason: not valid java name */
 | ||
|     public static final long m1693getInWholeMillisecondsimpl(long j) {
 | ||
|         return (m1705isInMillisimpl(j) && m1704isFiniteimpl(j)) ? m1702getValueimpl(j) : m1721toLongimpl(j, DurationUnit.MILLISECONDS);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInWholeMicroseconds-impl, reason: not valid java name */
 | ||
|     public static final long m1692getInWholeMicrosecondsimpl(long j) {
 | ||
|         return m1721toLongimpl(j, DurationUnit.MICROSECONDS);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: getInWholeNanoseconds-impl, reason: not valid java name */
 | ||
|     public static final long m1695getInWholeNanosecondsimpl(long j) {
 | ||
|         long millisToNanos;
 | ||
|         long m1702getValueimpl = m1702getValueimpl(j);
 | ||
|         if (m1706isInNanosimpl(j)) {
 | ||
|             return m1702getValueimpl;
 | ||
|         }
 | ||
|         if (m1702getValueimpl > 9223372036854L) {
 | ||
|             return Long.MAX_VALUE;
 | ||
|         }
 | ||
|         if (m1702getValueimpl < -9223372036854L) {
 | ||
|             return Long.MIN_VALUE;
 | ||
|         }
 | ||
|         millisToNanos = DurationKt.millisToNanos(m1702getValueimpl);
 | ||
|         return millisToNanos;
 | ||
|     }
 | ||
| 
 | ||
|     @Deprecated(message = "Use inWholeNanoseconds property instead.", replaceWith = @ReplaceWith(expression = "this.inWholeNanoseconds", imports = {}))
 | ||
|     @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5")
 | ||
|     /* renamed from: toLongNanoseconds-impl, reason: not valid java name */
 | ||
|     public static final long m1723toLongNanosecondsimpl(long j) {
 | ||
|         return m1695getInWholeNanosecondsimpl(j);
 | ||
|     }
 | ||
| 
 | ||
|     @Deprecated(message = "Use inWholeMilliseconds property instead.", replaceWith = @ReplaceWith(expression = "this.inWholeMilliseconds", imports = {}))
 | ||
|     @DeprecatedSinceKotlin(errorSince = "1.8", warningSince = "1.5")
 | ||
|     /* renamed from: toLongMilliseconds-impl, reason: not valid java name */
 | ||
|     public static final long m1722toLongMillisecondsimpl(long j) {
 | ||
|         return m1693getInWholeMillisecondsimpl(j);
 | ||
|     }
 | ||
| 
 | ||
|     public String toString() {
 | ||
|         return m1724toStringimpl(this.rawValue);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: toString-impl, reason: not valid java name */
 | ||
|     public static String m1724toStringimpl(long j) {
 | ||
|         if (j == 0) {
 | ||
|             return "0s";
 | ||
|         }
 | ||
|         if (j == INFINITE) {
 | ||
|             return "Infinity";
 | ||
|         }
 | ||
|         if (j == NEG_INFINITE) {
 | ||
|             return "-Infinity";
 | ||
|         }
 | ||
|         boolean m1708isNegativeimpl = m1708isNegativeimpl(j);
 | ||
|         StringBuilder sb = new StringBuilder();
 | ||
|         if (m1708isNegativeimpl) {
 | ||
|             sb.append('-');
 | ||
|         }
 | ||
|         long m1681getAbsoluteValueUwyO8pc = m1681getAbsoluteValueUwyO8pc(j);
 | ||
|         long m1690getInWholeDaysimpl = m1690getInWholeDaysimpl(m1681getAbsoluteValueUwyO8pc);
 | ||
|         int m1682getHoursComponentimpl = m1682getHoursComponentimpl(m1681getAbsoluteValueUwyO8pc);
 | ||
|         int m1697getMinutesComponentimpl = m1697getMinutesComponentimpl(m1681getAbsoluteValueUwyO8pc);
 | ||
|         int m1699getSecondsComponentimpl = m1699getSecondsComponentimpl(m1681getAbsoluteValueUwyO8pc);
 | ||
|         int m1698getNanosecondsComponentimpl = m1698getNanosecondsComponentimpl(m1681getAbsoluteValueUwyO8pc);
 | ||
|         int i = 0;
 | ||
|         boolean z = m1690getInWholeDaysimpl != 0;
 | ||
|         boolean z2 = m1682getHoursComponentimpl != 0;
 | ||
|         boolean z3 = m1697getMinutesComponentimpl != 0;
 | ||
|         boolean z4 = (m1699getSecondsComponentimpl == 0 && m1698getNanosecondsComponentimpl == 0) ? false : true;
 | ||
|         if (z) {
 | ||
|             sb.append(m1690getInWholeDaysimpl);
 | ||
|             sb.append('d');
 | ||
|             i = 1;
 | ||
|         }
 | ||
|         if (z2 || (z && (z3 || z4))) {
 | ||
|             int i2 = i + 1;
 | ||
|             if (i > 0) {
 | ||
|                 sb.append(' ');
 | ||
|             }
 | ||
|             sb.append(m1682getHoursComponentimpl);
 | ||
|             sb.append('h');
 | ||
|             i = i2;
 | ||
|         }
 | ||
|         if (z3 || (z4 && (z2 || z))) {
 | ||
|             int i3 = i + 1;
 | ||
|             if (i > 0) {
 | ||
|                 sb.append(' ');
 | ||
|             }
 | ||
|             sb.append(m1697getMinutesComponentimpl);
 | ||
|             sb.append('m');
 | ||
|             i = i3;
 | ||
|         }
 | ||
|         if (z4) {
 | ||
|             int i4 = i + 1;
 | ||
|             if (i > 0) {
 | ||
|                 sb.append(' ');
 | ||
|             }
 | ||
|             if (m1699getSecondsComponentimpl != 0 || z || z2 || z3) {
 | ||
|                 m1672appendFractionalimpl(j, sb, m1699getSecondsComponentimpl, m1698getNanosecondsComponentimpl, 9, "s", false);
 | ||
|             } else if (m1698getNanosecondsComponentimpl >= 1000000) {
 | ||
|                 m1672appendFractionalimpl(j, sb, m1698getNanosecondsComponentimpl / DurationKt.NANOS_IN_MILLIS, m1698getNanosecondsComponentimpl % DurationKt.NANOS_IN_MILLIS, 6, "ms", false);
 | ||
|             } else if (m1698getNanosecondsComponentimpl >= 1000) {
 | ||
|                 m1672appendFractionalimpl(j, sb, m1698getNanosecondsComponentimpl / 1000, m1698getNanosecondsComponentimpl % 1000, 3, "us", false);
 | ||
|             } else {
 | ||
|                 sb.append(m1698getNanosecondsComponentimpl);
 | ||
|                 sb.append("ns");
 | ||
|             }
 | ||
|             i = i4;
 | ||
|         }
 | ||
|         if (m1708isNegativeimpl && i > 1) {
 | ||
|             sb.insert(1, '(').append(')');
 | ||
|         }
 | ||
|         String sb2 = sb.toString();
 | ||
|         Intrinsics.checkNotNullExpressionValue(sb2, "StringBuilder().apply(builderAction).toString()");
 | ||
|         return sb2;
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: appendFractional-impl, reason: not valid java name */
 | ||
|     private static final void m1672appendFractionalimpl(long j, StringBuilder sb, int i, int i2, int i3, String str, boolean z) {
 | ||
|         sb.append(i);
 | ||
|         if (i2 != 0) {
 | ||
|             sb.append('.');
 | ||
|             String padStart = StringsKt.padStart(String.valueOf(i2), i3, '0');
 | ||
|             int i4 = -1;
 | ||
|             int length = padStart.length() - 1;
 | ||
|             if (length >= 0) {
 | ||
|                 while (true) {
 | ||
|                     int i5 = length - 1;
 | ||
|                     if (padStart.charAt(length) != '0') {
 | ||
|                         i4 = length;
 | ||
|                         break;
 | ||
|                     } else if (i5 < 0) {
 | ||
|                         break;
 | ||
|                     } else {
 | ||
|                         length = i5;
 | ||
|                     }
 | ||
|                 }
 | ||
|             }
 | ||
|             int i6 = i4 + 1;
 | ||
|             if (!z && i6 < 3) {
 | ||
|                 sb.append((CharSequence) padStart, 0, i6);
 | ||
|                 Intrinsics.checkNotNullExpressionValue(sb, "this.append(value, startIndex, endIndex)");
 | ||
|             } else {
 | ||
|                 sb.append((CharSequence) padStart, 0, ((i4 + 3) / 3) * 3);
 | ||
|                 Intrinsics.checkNotNullExpressionValue(sb, "this.append(value, startIndex, endIndex)");
 | ||
|             }
 | ||
|         }
 | ||
|         sb.append(str);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: toString-impl$default, reason: not valid java name */
 | ||
|     public static /* synthetic */ String m1726toStringimpl$default(long j, DurationUnit durationUnit, int i, int i2, Object obj) {
 | ||
|         if ((i2 & 2) != 0) {
 | ||
|             i = 0;
 | ||
|         }
 | ||
|         return m1725toStringimpl(j, durationUnit, i);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: toString-impl, reason: not valid java name */
 | ||
|     public static final String m1725toStringimpl(long j, DurationUnit unit, int i) {
 | ||
|         Intrinsics.checkNotNullParameter(unit, "unit");
 | ||
|         if (i < 0) {
 | ||
|             throw new IllegalArgumentException(("decimals must be not negative, but was " + i).toString());
 | ||
|         }
 | ||
|         double m1718toDoubleimpl = m1718toDoubleimpl(j, unit);
 | ||
|         if (Double.isInfinite(m1718toDoubleimpl)) {
 | ||
|             return String.valueOf(m1718toDoubleimpl);
 | ||
|         }
 | ||
|         return DurationJvmKt.formatToExactDecimals(m1718toDoubleimpl, RangesKt.coerceAtMost(i, 12)) + DurationUnitKt.shortName(unit);
 | ||
|     }
 | ||
| 
 | ||
|     /* renamed from: toIsoString-impl, reason: not valid java name */
 | ||
|     public static final String m1720toIsoStringimpl(long j) {
 | ||
|         StringBuilder sb = new StringBuilder();
 | ||
|         if (m1708isNegativeimpl(j)) {
 | ||
|             sb.append('-');
 | ||
|         }
 | ||
|         sb.append("PT");
 | ||
|         long m1681getAbsoluteValueUwyO8pc = m1681getAbsoluteValueUwyO8pc(j);
 | ||
|         long m1691getInWholeHoursimpl = m1691getInWholeHoursimpl(m1681getAbsoluteValueUwyO8pc);
 | ||
|         int m1697getMinutesComponentimpl = m1697getMinutesComponentimpl(m1681getAbsoluteValueUwyO8pc);
 | ||
|         int m1699getSecondsComponentimpl = m1699getSecondsComponentimpl(m1681getAbsoluteValueUwyO8pc);
 | ||
|         int m1698getNanosecondsComponentimpl = m1698getNanosecondsComponentimpl(m1681getAbsoluteValueUwyO8pc);
 | ||
|         if (m1707isInfiniteimpl(j)) {
 | ||
|             m1691getInWholeHoursimpl = 9999999999999L;
 | ||
|         }
 | ||
|         boolean z = true;
 | ||
|         boolean z2 = m1691getInWholeHoursimpl != 0;
 | ||
|         boolean z3 = (m1699getSecondsComponentimpl == 0 && m1698getNanosecondsComponentimpl == 0) ? false : true;
 | ||
|         if (m1697getMinutesComponentimpl == 0 && (!z3 || !z2)) {
 | ||
|             z = false;
 | ||
|         }
 | ||
|         if (z2) {
 | ||
|             sb.append(m1691getInWholeHoursimpl);
 | ||
|             sb.append('H');
 | ||
|         }
 | ||
|         if (z) {
 | ||
|             sb.append(m1697getMinutesComponentimpl);
 | ||
|             sb.append('M');
 | ||
|         }
 | ||
|         if (z3 || (!z2 && !z)) {
 | ||
|             m1672appendFractionalimpl(j, sb, m1699getSecondsComponentimpl, m1698getNanosecondsComponentimpl, 9, "S", true);
 | ||
|         }
 | ||
|         String sb2 = sb.toString();
 | ||
|         Intrinsics.checkNotNullExpressionValue(sb2, "StringBuilder().apply(builderAction).toString()");
 | ||
|         return sb2;
 | ||
|     }
 | ||
| }
 |