-
- All Implemented Interfaces:
-
io.sentry.SentryDateProvider
@ApiStatus.Internal() public final class SentryAndroidDateProvider implements SentryDateProvider
This SentryDateProvider will use a combination of java.util.Date and System.nanoTime() on Android. During testing we discovered that java.time.Instant only offers ms precision if the build has desugaring enabled. Event without desugaring only API 33 offered higher precision. More info can be found here: https://github.com/getsentry/sentry-java/pull/2451