mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
21 lines
494 B
Java
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();
|
|
}
|
|
}
|