Rabbit-R1/original r1/java/sources/kotlin/time/ComparableTimeMark.java
2024-05-21 17:08:36 -04:00

50 lines
3 KiB
Java

package kotlin.time;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import kotlin.time.TimeMark;
/* compiled from: TimeSource.kt */
@Metadata(d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000f\n\u0000\n\u0002\u0010\b\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\b\bg\u0018\u00002\u00020\u00012\b\u0012\u0004\u0012\u00020\u00000\u0002J\u0011\u0010\u0003\u001a\u00020\u00042\u0006\u0010\u0005\u001a\u00020\u0000H\u0096\u0002J\u0013\u0010\u0006\u001a\u00020\u00072\b\u0010\u0005\u001a\u0004\u0018\u00010\bH¦\u0002J\b\u0010\t\u001a\u00020\u0004H&J\u001b\u0010\n\u001a\u00020\u000b2\u0006\u0010\u0005\u001a\u00020\u0000H¦\u0002ø\u0001\u0000¢\u0006\u0004\b\f\u0010\rJ\u0018\u0010\n\u001a\u00020\u00002\u0006\u0010\u000e\u001a\u00020\u000bH\u0096\u0002¢\u0006\u0004\b\u000f\u0010\u0010J\u0018\u0010\u0011\u001a\u00020\u00002\u0006\u0010\u000e\u001a\u00020\u000bH¦\u0002¢\u0006\u0004\b\u0012\u0010\u0010\u0082\u0002\u0004\n\u0002\b!¨\u0006\u0013"}, d2 = {"Lkotlin/time/ComparableTimeMark;", "Lkotlin/time/TimeMark;", "", "compareTo", "", "other", "equals", "", "", "hashCode", "minus", "Lkotlin/time/Duration;", "minus-UwyO8pc", "(Lkotlin/time/ComparableTimeMark;)J", "duration", "minus-LRDsOJo", "(J)Lkotlin/time/ComparableTimeMark;", "plus", "plus-LRDsOJo", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes3.dex */
public interface ComparableTimeMark extends TimeMark, Comparable<ComparableTimeMark> {
int compareTo(ComparableTimeMark other);
boolean equals(Object other);
int hashCode();
@Override // kotlin.time.TimeMark
/* renamed from: minus-LRDsOJo */
ComparableTimeMark mo7015minusLRDsOJo(long duration);
/* renamed from: minus-UwyO8pc */
long mo7016minusUwyO8pc(ComparableTimeMark other);
@Override // kotlin.time.TimeMark
/* renamed from: plus-LRDsOJo */
ComparableTimeMark mo7017plusLRDsOJo(long duration);
/* compiled from: TimeSource.kt */
@Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes3.dex */
public static final class DefaultImpls {
public static boolean hasNotPassedNow(ComparableTimeMark comparableTimeMark) {
return TimeMark.DefaultImpls.hasNotPassedNow(comparableTimeMark);
}
public static boolean hasPassedNow(ComparableTimeMark comparableTimeMark) {
return TimeMark.DefaultImpls.hasPassedNow(comparableTimeMark);
}
/* renamed from: minus-LRDsOJo, reason: not valid java name */
public static ComparableTimeMark m7019minusLRDsOJo(ComparableTimeMark comparableTimeMark, long j) {
return comparableTimeMark.mo7017plusLRDsOJo(Duration.m7077unaryMinusUwyO8pc(j));
}
public static int compareTo(ComparableTimeMark comparableTimeMark, ComparableTimeMark other) {
Intrinsics.checkNotNullParameter(other, "other");
return Duration.m7023compareToLRDsOJo(comparableTimeMark.mo7016minusUwyO8pc(other), Duration.INSTANCE.m7127getZEROUwyO8pc());
}
}
}