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
/** * Length of the range in nanoseconds. * * @return length of the range in nanoseconds */publiclongnanos() {
returnstart.until(end, ChronoUnit.NANOS) - (inclusiveEnd ? 0 : 1);
}
Looking at
TimeRange::nanos
:this seems incorrect.
For example, I would expect that
This makes me think a lot of the testing and calculations are off by 1.
but it seems like the code as written is providing
Originially identified in #5378 (comment).
The text was updated successfully, but these errors were encountered: