Skip to content

Commit

Permalink
compare times at the second level
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuehnel committed May 2, 2024
1 parent a0ee84c commit de98d44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private static boolean isBothUndefinedOrWithinDelta(OptionalTime time1, Optional
if (time1.isUndefined() ^ time2.isUndefined()) {
return false;
} else if(time1.isDefined()) {
return isWithinDelta(time1.seconds(), time2.seconds(), delta);
return isWithinDelta((int) time1.seconds(), (int) time2.seconds(), delta);
}
return true;
}
Expand Down

0 comments on commit de98d44

Please sign in to comment.