Rabbit-R1/android (non root)/java/sources/kotlin/time/AdjustedTimeMark.java

62 lines
2.9 KiB
Java
Raw Normal View History

2024-05-21 21:08:36 +00:00
package kotlin.time;
import kotlin.Metadata;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import kotlin.time.TimeMark;
/* compiled from: TimeSource.kt */
@Metadata(d1 = {"\u0000\u0014\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\r\b\u0002\u0018\u00002\u00020\u0001B\u0015\u0012\u0006\u0010\u0002\u001a\u00020\u0001\u0012\u0006\u0010\u0003\u001a\u00020\u0004¢\u0006\u0002\u0010\u0005J\u0012\u0010\u000b\u001a\u00020\u0004H\u0016ø\u0001\u0000¢\u0006\u0004\b\f\u0010\u0007J\u0018\u0010\r\u001a\u00020\u00012\u0006\u0010\u000e\u001a\u00020\u0004H\u0096\u0002¢\u0006\u0004\b\u000f\u0010\u0010R\u0016\u0010\u0003\u001a\u00020\u0004ø\u0001\u0000¢\u0006\n\n\u0002\u0010\b\u001a\u0004\b\u0006\u0010\u0007R\u0011\u0010\u0002\u001a\u00020\u0001¢\u0006\b\n\u0000\u001a\u0004\b\t\u0010\n\u0082\u0002\u0004\n\u0002\b!¨\u0006\u0011"}, d2 = {"Lkotlin/time/AdjustedTimeMark;", "Lkotlin/time/TimeMark;", "mark", "adjustment", "Lkotlin/time/Duration;", "(Lkotlin/time/TimeMark;JLkotlin/jvm/internal/DefaultConstructorMarker;)V", "getAdjustment-UwyO8pc", "()J", "J", "getMark", "()Lkotlin/time/TimeMark;", "elapsedNow", "elapsedNow-UwyO8pc", "plus", "duration", "plus-LRDsOJo", "(J)Lkotlin/time/TimeMark;", "kotlin-stdlib"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes3.dex */
final class AdjustedTimeMark implements TimeMark {
private final long adjustment;
private final TimeMark mark;
public /* synthetic */ AdjustedTimeMark(TimeMark timeMark, long j, DefaultConstructorMarker defaultConstructorMarker) {
this(timeMark, j);
}
/* renamed from: getAdjustment-UwyO8pc, reason: not valid java name and from getter */
public final long getAdjustment() {
return this.adjustment;
}
public final TimeMark getMark() {
return this.mark;
}
private AdjustedTimeMark(TimeMark mark, long j) {
Intrinsics.checkNotNullParameter(mark, "mark");
this.mark = mark;
this.adjustment = j;
}
@Override // kotlin.time.TimeMark
public boolean hasNotPassedNow() {
return TimeMark.DefaultImpls.hasNotPassedNow(this);
}
@Override // kotlin.time.TimeMark
public boolean hasPassedNow() {
return TimeMark.DefaultImpls.hasPassedNow(this);
}
@Override // kotlin.time.TimeMark
/* renamed from: minus-LRDsOJo */
public TimeMark mo7015minusLRDsOJo(long j) {
return TimeMark.DefaultImpls.m7161minusLRDsOJo(this, j);
}
@Override // kotlin.time.TimeMark
/* renamed from: elapsedNow-UwyO8pc */
public long mo7014elapsedNowUwyO8pc() {
return Duration.m7059minusLRDsOJo(this.mark.mo7014elapsedNowUwyO8pc(), this.adjustment);
}
@Override // kotlin.time.TimeMark
/* renamed from: plus-LRDsOJo */
public TimeMark mo7017plusLRDsOJo(long duration) {
return new AdjustedTimeMark(this.mark, Duration.m7060plusLRDsOJo(this.adjustment, duration), null);
}
}