You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
Right at the moment, the Instant has internal representation as a single Integer specifying number of milliseconds since epoch.
That gives us roughly the full range of 1.8447e+19 milliseconds to operate on.
This is total of 2.1350e+11 days or roughly 5.8455e+08 years, which is although significantly less than the range for Date, still a lot of room in terms of time we can express with an Instant.
Another question is that if milliseconds is quite enough precision to use for an Instant, which is after all meant to be used mostly for timestamps and measuring/identifying precise moments of occurrence of events.
Todays hardware can make quite a lot of operations within a millisecond just on a single processor. So this means that for accurate measurement of time or recording of events, the milliseconds is no longer adequate.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right at the moment, the Instant has internal representation as a single Integer specifying number of milliseconds since epoch.
That gives us roughly the full range of
1.8447e+19
milliseconds to operate on.This is total of
2.1350e+11
days or roughly5.8455e+08
years, which is although significantly less than the range for Date, still a lot of room in terms of time we can express with an Instant.Another question is that if milliseconds is quite enough precision to use for an Instant, which is after all meant to be used mostly for timestamps and measuring/identifying precise moments of occurrence of events.
Todays hardware can make quite a lot of operations within a millisecond just on a single processor. So this means that for accurate measurement of time or recording of events, the milliseconds is no longer adequate.
The text was updated successfully, but these errors were encountered: