Rabbit-R1/android (non root)/java/sources/io/sentry/SentryInstantDate.java
2024-05-21 17:08:36 -04:00

21 lines
494 B
Java

package io.sentry;
import java.time.Instant;
/* loaded from: classes3.dex */
public final class SentryInstantDate extends SentryDate {
private final Instant date;
public SentryInstantDate() {
this(Instant.now());
}
public SentryInstantDate(Instant instant) {
this.date = instant;
}
@Override // io.sentry.SentryDate
public long nanoTimestamp() {
return DateUtils.secondsToNanos(this.date.getEpochSecond()) + this.date.getNano();
}
}